**Please note these rules:**
* If this post declares something as a fact/proof is required.
* The title must be descriptive
* No text is allowed on images/gifs/videos
* Common/recent reposts are not allowed
*See [this post](https://redd.it/ij26vk) for a more detailed rule list*
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/interestingasfuck) if you have any questions or concerns.*
Just the other day I thought I was going to fall asleep while waiting for a message to come in, so I took my phone off of vibrate and cranked up the volume.
I didn't know that the message ringtone was so damn ugly, but at least it woke me up.
I remember the days when I would sit with my friends and look for cool low quality ring tones, now if my phone makes a noise I didn't cause intentionally it nearly gets thrown across the room.
Seriously. "Repeat this process 100 times, now repeat it 25000 times" isn't skipping steps. You got all the steps, and the amount of times they're repeated.
The rules for this process may be correct but he certainly didn't free hand that shit. You clearly see the numbers look different as the video progresses.
That *was* just the explanation of the rules, though, and yes, the rest was done with a computer. If anybody's got Python installed on their computer (and during installation they selected the Tk GUI stuff as well) then this script will run as-is. It builds the Sierpinski triangle on the screen quite quickly:
import time, random
import tkinter as tk
width = 600
height = int(width * 0.87)
root = tk.Tk()
img = tk.PhotoImage(width=width, height=height)
img.put("white", to=(0, 0, width, height))
lab = tk.Label(root, image=img)
lab.pack()
root.update()
x, y = 0, 0
while True:
for n in range(100):
r = random.randrange(3)
y = (y + r // 2) / 2
x = (x - r // 2 * 1.5 + r) / 2
xp, yp = int(x * width), int((1 - y) * height - 1)
img.put("black", to=(xp,yp))
root.update()
time.sleep(0.01)
Oh dang, that's neat and a lot simpler than I thought it would be. Very neat to watch. I ran this, changed the width to 1000 for a bigger picture, and it made it perfectly within about 30s-1m or so. [Result here](https://imgur.com/a/pBaG87O) for anyone interested.
I know, I wasn’t really being serious. However, putting 20,000 dots is a form of art and people do it all the time. I DO NOT have that kind of patience though
According to the [Wikipedia article](https://en.m.wikipedia.org/wiki/Sierpi%C5%84ski_triangle):
> If the first point v1 was a point on the Sierpiński triangle, then all the points vn lie on the Sierpinski triangle. If the first point v1 to lie within the perimeter of the triangle is not a point on the Sierpinski triangle, none of the points vn will lie on the Sierpinski triangle, however they will converge on the triangle.
So basically, to get a true Sierpinski triangle you gotta choose a starting point on the border of the triangle. Any other point won't actually be on the Sierpinski triangle, but will become infinitely close with time.
You can't make a serpinski triangle without "going to infinity" anyway, so if you make infinitely many points that are converging to a serpinski triangle, is that not just a serpinski triangle with extra steps?
yes, and it wouldn’t change the nature of the set in question, but not all infinite sets are the same size. for example: the set of all ~~possible~~ real numbers is infinite, and so is the set of all *odd* numbers, but that set is obviously smaller
tldr: infinity is not as simple as it seems on the surface
If by numbers you mean real numbers then yes, the set of odd numbers is smaller than the set of real numbers.
But the set of odd numbers is the same size as, for example, the set of whole numbers, or the set of rational numbers (i.e. they're all countably infinite)
Those would be natural numbers, the more correct answer would be the real numbers, which includes both rational and irrational numbers. But excludes the complex numbers.
>and so is the set of all *odd* numbers, but that set is obviously smaller
~~It's "obviously" smaller, but it's actually exactly the same size. However, the set of all real numbers between 0 and 1 is larger than the set of all integers.~~
Infinity is *really* weird.
I need to read better. I thought you said all positive numbers and were comparing to all odd numbers.
No because none of the points that you draw will never be part of the Serpinski triangle, they will just get closer and closer to the triangle.
If your first point is on the Serpinski triangle, all other points generated will be on the Serpinski triangle.
It's a neat thing about infinity.
Eh, that's sort of like starting to count the natural numbers at -30. You eventually started to say the natural numbers, but you said 30 negative numbers first and those don't belong in the set.
You have to erase the first points because they are far away from the figure. If you only take the set of points from the n th point to the 2n th point this will actually converge to the figure with n going towards infinity
> It will be a stray dot but after about the third one, they will all be on the attractor.
I don't think that's guaranteed. You can stay off the attractor for an arbitrary number of steps, for example, by starting on the vertical middle inside the big triangle and only choosing point 1.
And then there's the question of what kind of infinities the number of points on, or off, the attractor are...
In fact I wonder if you always stay off the attractor if you start off the attractor, but you get and stay arbitrarily close to it.
Credit: [The Imgur video](https://imgur.com/gallery/2rSV2YP)
His [tiktok](https://www.tiktok.com/@mathletters?lang=en)
tiktok is banned in my country so i cant find and link the exact video.
That's such a weird way of drawing it. Just draw a triforce, and then draw another triforce in all of the resulting triangles except for the middle one. Repeat.
>Me after drawing a couple dozen points:
>
>
>*I'm pretty tired ...*
My neighbor kid: "Look what I drew! I'm gonna do it again in red this time! *20 minutes later:* There! What color should I use next?" How he doth exhaust me.
Watching this on mute was pretty . . . unimpressive: "Um just draw a bunch of triangles and save yourself some time."
Unmuted: "oh, what now!? That is in fact . . . very interestingasfuck!"
It doesn't need to be equilateral, though. If you do the same thing with _any_ three points which form a triangle, you'll get a sierpinski pattern. It's just that doing this with a non-equilateral triangle didn't get you the classic sierpinski look, it becomes skewed instead.
The Sierpiński triangle holds a special place for me personally as it was the start of my programming journey.
Unlike most people who start with a simple hello-world program. I was flipping through the owners manual for my fancy TI-85 calculator and came across some "program examples".
The Sierpiński triangle example was one of the coolest programs in the book so I said let me give it a shot and typed the "program" into my calculator by hand (it was printed out in the owner's manual).
I was hooked - started copying games and other programs into my TI-85 by hand (download code from internet, type into calculator by hand because I couldn't afford the PC adapter cable). After the tenth or so program, the TI-Basic code started to make sense to me and I could start to "read" the code and understand what was going on.
> The Sierpiński triangle holds a special place for me personally as it was the start of my programming journey.
I just finished my CS degree. One of my earliest assignments was to write a program for the Sierpiński triangle :)
"To start us off, choose a point ANYWHERE inside the triangle"
I choose the very middle of the triangle. Now what's the final result going to look like?
The logic is really skewed and the result is clearly filled out manually. This is content for people who like and believe in the real life application of 5-minute life hack videos.
EDIT: Concept is real enough, but the video does a piss poor job of explaining the framework of the Chaos Game. I am not attacking the math, guys - just the video!
Not true, the result will be what he has, with a couple misplaced dots in the middle. After just a couple moves the dots go back into place and will always result in that pattern.
That interested me too, so I wrote a small program to check it out :)
Here is the result:
[https://i.imgur.com/u7mGWnf.png](https://i.imgur.com/u7mGWnf.png)
There is a red dot in the middle, that is the starting point, and then all those tuirqoise shade colors are ones generated subsequently. You can see there are dots in some triangles that are not in the center, and I assume that is because of the (250,250) starting point.
Ikr, I hate to be the guy to say 'you must be fun at parties' but OP is just acting like a piece of shit just because the guy slipped up on the wording of one of the steps. Guy clearly has some superiority complex
Ok so there is a black upside down triangle in the middle right? And the first point is completely random? What of the first random point falls into that blank space?
Thanks! Thanks to you I am once again on one of those mathematical wiki sides about fractal dimensions and dynamical systems I understand jack shit about.
I kinda find the “random initial point” hard to believe. How would this work if you pick a point inside the big white triangle in the middel? Then you would have at least a single dot there
I can't imagine you sketched it by hand until it looked so smooth! I just ran a quick calculation in Python an this is where it's at after 10k, 100k and 1 million steps: https://imgur.com/a/R3tt50Q
**Please note these rules:** * If this post declares something as a fact/proof is required. * The title must be descriptive * No text is allowed on images/gifs/videos * Common/recent reposts are not allowed *See [this post](https://redd.it/ij26vk) for a more detailed rule list* *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/interestingasfuck) if you have any questions or concerns.*
I think I missed a couple thousand steps
r/restofthefuckingowl
Step 1: dot Step 2: dot Step 3: ? Profit
I don't remember what that's from but I seriously LOL'ed.
Phase 1: [Collect underpants.](https://www.youtube.com/watch?v=a5ih_TQWqCA) Phase 2: ? Phase 3: Profit!
Underpants gnomes? South Park?
You are correct Sir!
Mathematicians hate this one easy trick.
Step 1: dot Step 2: dot Step 3: ? Step 4: Triforce
Don't feel like this fits there. There's no vital information lost in skipping the the last step
Did any of you listen to the audio???
My phones been on mute for a decade
Just the other day I thought I was going to fall asleep while waiting for a message to come in, so I took my phone off of vibrate and cranked up the volume. I didn't know that the message ringtone was so damn ugly, but at least it woke me up.
I remember the days when I would sit with my friends and look for cool low quality ring tones, now if my phone makes a noise I didn't cause intentionally it nearly gets thrown across the room.
I'm deaf so at least I've got an excuse this time.
Seriously. "Repeat this process 100 times, now repeat it 25000 times" isn't skipping steps. You got all the steps, and the amount of times they're repeated.
Almost never.
Yeah
Link could have done it in the time it took me to beat the legend of Zelda. I never beat it
How to draw an owl 1. Draw a circle 2. Draw the rest of the owl
Hahah exactly
The rules for this process may be correct but he certainly didn't free hand that shit. You clearly see the numbers look different as the video progresses.
That *was* just the explanation of the rules, though, and yes, the rest was done with a computer. If anybody's got Python installed on their computer (and during installation they selected the Tk GUI stuff as well) then this script will run as-is. It builds the Sierpinski triangle on the screen quite quickly: import time, random import tkinter as tk width = 600 height = int(width * 0.87) root = tk.Tk() img = tk.PhotoImage(width=width, height=height) img.put("white", to=(0, 0, width, height)) lab = tk.Label(root, image=img) lab.pack() root.update() x, y = 0, 0 while True: for n in range(100): r = random.randrange(3) y = (y + r // 2) / 2 x = (x - r // 2 * 1.5 + r) / 2 xp, yp = int(x * width), int((1 - y) * height - 1) img.put("black", to=(xp,yp)) root.update() time.sleep(0.01)
Oh dang, that's neat and a lot simpler than I thought it would be. Very neat to watch. I ran this, changed the width to 1000 for a bigger picture, and it made it perfectly within about 30s-1m or so. [Result here](https://imgur.com/a/pBaG87O) for anyone interested.
Not like anyone claimed they did it free hand. The last one is probably a printout.
I don't think he was trying to imply that he did.
[Chaos Game (Numberphile)](https://www.youtube.com/watch?v=kbKtFN71Lfs)
It’s okay it’s not even the same picture. Shape of dot at two changes.
I don't think he's gonna manually put in 20.000 dots. First part was more of an explanation of the idea behind the fractal.
I know, I wasn’t really being serious. However, putting 20,000 dots is a form of art and people do it all the time. I DO NOT have that kind of patience though
That's how my wife and her whole shop do tattoos.
You and me both
I've worked on pointillism paintings that probably come close to that on an 18x24 canvas, and theyre not that detailed.
The benefit is they're all the same steps.
Imma try this cause I need to avoid some responsibilities right now
Just programmed it while work. Successful day I'd say.
can you post it on github? I dont want to write it...
https://www.geeksforgeeks.org/sierpinski-triangle/amp/
This should be a Codewars challenge if it isn't already. Should be pretty straightforward but an interesting one!
Yeah it was pretty straightforward. Just used JavaScript and a canvas. But pretty cool to see it in action!
Bruh haha I relate to this so hard
YUUP, that's what I've been doing in my last half hour of work.
Adhd
Yes
in Excel
Literally me rn
Okay, but what if your first point is in the exact middle of the image?
According to the [Wikipedia article](https://en.m.wikipedia.org/wiki/Sierpi%C5%84ski_triangle): > If the first point v1 was a point on the Sierpiński triangle, then all the points vn lie on the Sierpinski triangle. If the first point v1 to lie within the perimeter of the triangle is not a point on the Sierpinski triangle, none of the points vn will lie on the Sierpinski triangle, however they will converge on the triangle. So basically, to get a true Sierpinski triangle you gotta choose a starting point on the border of the triangle. Any other point won't actually be on the Sierpinski triangle, but will become infinitely close with time.
You can't make a serpinski triangle without "going to infinity" anyway, so if you make infinitely many points that are converging to a serpinski triangle, is that not just a serpinski triangle with extra steps?
Infinite with an extra step is still infinite.
[удалено]
The front fell off
That's not very typical
yes, and it wouldn’t change the nature of the set in question, but not all infinite sets are the same size. for example: the set of all ~~possible~~ real numbers is infinite, and so is the set of all *odd* numbers, but that set is obviously smaller tldr: infinity is not as simple as it seems on the surface
If by numbers you mean real numbers then yes, the set of odd numbers is smaller than the set of real numbers. But the set of odd numbers is the same size as, for example, the set of whole numbers, or the set of rational numbers (i.e. they're all countably infinite)
That's their point.
but was their point on the triangle or not
Not all infinite sets have the same _cardinality_ 🤓
The set of all possible numbers? What do you mean by that?
[удалено]
Those would be natural numbers, the more correct answer would be the real numbers, which includes both rational and irrational numbers. But excludes the complex numbers.
>and so is the set of all *odd* numbers, but that set is obviously smaller ~~It's "obviously" smaller, but it's actually exactly the same size. However, the set of all real numbers between 0 and 1 is larger than the set of all integers.~~ Infinity is *really* weird. I need to read better. I thought you said all positive numbers and were comparing to all odd numbers.
No because none of the points that you draw will never be part of the Serpinski triangle, they will just get closer and closer to the triangle. If your first point is on the Serpinski triangle, all other points generated will be on the Serpinski triangle. It's a neat thing about infinity.
So you won't enter the loop that makes you draw the triangle, but keep getting closer to doing so.
If each dot is permanent then it will never be a perfect Serpinski triangle if the initial dot doesn't lie in the area of the Serpinski triangle.
Eh, that's sort of like starting to count the natural numbers at -30. You eventually started to say the natural numbers, but you said 30 negative numbers first and those don't belong in the set.
You have to erase the first points because they are far away from the figure. If you only take the set of points from the n th point to the 2n th point this will actually converge to the figure with n going towards infinity
That was the first question I had as well. "Choose a totally random point -- wait no not that one"
[Go ahead, pick any starting point you like](https://jsfiddle.net/z296y0vd/4/)
Will need to check this whilst not on mobile.
It will be a stray dot but after about the third one, they will all be on the attractor. It will make a nearly perfect seripenski gasket.
> It will be a stray dot but after about the third one, they will all be on the attractor. I don't think that's guaranteed. You can stay off the attractor for an arbitrary number of steps, for example, by starting on the vertical middle inside the big triangle and only choosing point 1. And then there's the question of what kind of infinities the number of points on, or off, the attractor are... In fact I wonder if you always stay off the attractor if you start off the attractor, but you get and stay arbitrarily close to it.
Your last thought is actually correct!
> Your last thought RIP me :( 💀
we're gathered here today to celebrate the life of wonkey_monkey. they were...oh, I don't know. fairly cool I guess. RIP wonkey
/r/fairlycool is actually a (dead) sub I made...
;) I glanced at your user page to make sure you weren't a racist before I celebrated your life
Turns out like this: [https://i.imgur.com/S0dAaYs.png](https://i.imgur.com/S0dAaYs.png)
Two very angry mathematicians appear at your house and try to stab you.
with a Sierpinski triangle
[here is with the dot in the middle](https://i.imgur.com/DjGNdBE.png)
I don't think you can get to the final image without a ruler
Probably draw it in a fraction of the time too
A fractal of the time
Plus you wouldn't have any points along any borders except for one if you put your first point there.
Clearly not, you can see the final numbers look different than they did initially.
Use programming
Yeah they definitely cheated.
But this is a democracy!
Pyramid Scheme
Inverse funnel flipped upside down.
And if you do it perfectly, a kid dressed all in green will break into your house and break every flower pot and vase you own!
I mean that happened once, but we can't prove that there was a causal link.
It was actually a [casual Link](https://pbs.twimg.com/media/C6AS5FxXQAAPY6-.jpg).
That's the Triforce!
Triforce^^3
newfag!
wot?
newfags can't triforce
▲ ▲ ▲
I'm so freaking confused right now.
It’s an old 4chan meme
Hey! Listen!
Yesssss
Early 2000s internet: newfags cannot triforce 2022 internet: here Is a detailed tutorial on how to triforce
I got a suspension for say newf*g on reddit. Gotdamn eternal summer
▲ ▲ ▲ ami doing this rite?
This is the answer I was looking for
For anybody who would rather not draw 10,000 dots, I wrote a script https://openprocessing.org/sketch/1340447
What happens if change the algorithm and place the dots one third of the way instead of half way, etc?
[https://openprocessing.org/sketch/1603906](https://openprocessing.org/sketch/1603906)
Wow that is actually really pretty.
Thanks. This is awesome.
Two thirds? A quarter? Three quarters? I could go on, but I’d rather not torture you (more).
[https://openprocessing.org/sketch/1604078](https://openprocessing.org/sketch/1604078) Made one where you can select the distance
Poor bastard drew 25,000 dots and OP couldn't even credit him.
His name is Sir Pinksi.
Dr. Drew doesn't deserve a knighthood
You made me giggle uncontrollably
Right?
https://www.reddit.com/r/interestingasfuck/comments/viqtez/how_to_draw_a_sierpi%C5%84ski_triangle/idek2jr/?utm_source=share&utm_medium=ios_app&utm_name=iossmf&context=3
He did though.
Not more than that?
Legend has it that at 25,001 points it summons the triangle demon.
Trielzebub
No, Gananondorf
Triangulus, Lord of Sines
Bill Cypher?
Credit: [The Imgur video](https://imgur.com/gallery/2rSV2YP) His [tiktok](https://www.tiktok.com/@mathletters?lang=en) tiktok is banned in my country so i cant find and link the exact video.
which country?
India
https://www.tiktok.com/@mathletters/video/7081424281309170986?is_copy_url=1&is_from_webapp=v1&lang=en
What's it like not being corrupted by tiktok over there??
We have Instagram reels and other apps with the similar effect.
The first dot has to be on the perimeter
Why did I watch this video, I’m gonna have to spend hours drawing that now
In theory someone can write a code to draw this woth the rules? Can it be possible?
Absolutely. [This site ](http://www.shodor.org/interactive/activities/TheChaosGame/) has an interactive generator that simulates this.
One does not simply click in to Shodor... O wait. One does.
I think back in the late 90s I had this process programmed on my TI-83. Not sure where I got it from, cause I definitely didn't program it myself.
That's such a weird way of drawing it. Just draw a triforce, and then draw another triforce in all of the resulting triangles except for the middle one. Repeat.
Step 1: Make 3 dots Step 2: Complete the Mona Lisa.
Me after drawing a couple dozen points: *I'm pretty tired ...*
>Me after drawing a couple dozen points: > > >*I'm pretty tired ...* My neighbor kid: "Look what I drew! I'm gonna do it again in red this time! *20 minutes later:* There! What color should I use next?" How he doth exhaust me.
I surrendered in "couple"
Rhombus for life! Bitch!
Watching this on mute was pretty . . . unimpressive: "Um just draw a bunch of triangles and save yourself some time." Unmuted: "oh, what now!? That is in fact . . . very interestingasfuck!"
Me too lol
“Draw three points in the shape of a triangle” as if it’s possible to draw three points NOT in the shape of a triangle!
Unless they're in a straight line
Point taken. And of course, there would be infinitely many of those arrangements.
> Point taken. Well great now there's only two points, thanks a lot buddy.
The most dangerous and feminine shape. Can easily puncture when a square is trying to feel the shape out.
Upvoted for the Flatland reference... I don't see those nearly enough
I think they meant to say an equilateral triangle and flubbed a word.
It doesn't need to be equilateral, though. If you do the same thing with _any_ three points which form a triangle, you'll get a sierpinski pattern. It's just that doing this with a non-equilateral triangle didn't get you the classic sierpinski look, it becomes skewed instead.
Hey can we code this stuff so that we can visualise in real time all this happening.
https://jsfiddle.net/z296y0vd/4/
Reason I love reddit. Btw u did it on your own bro?
Yeah, didn't take too long
If Zelda Zelda’d Zelda
All I see is a triforce
I 3d printed one. https://imgur.com/a/sA1F6JH
You 3D printed a 3D one
What if the first point you draw is in the very center?
I don’t care what it’s called. I see the triforce and that’s what I’m calling it
It's actually the tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri^tri force
It’s only the triforce if it’s one level deep
The Sierpiński triangle holds a special place for me personally as it was the start of my programming journey. Unlike most people who start with a simple hello-world program. I was flipping through the owners manual for my fancy TI-85 calculator and came across some "program examples". The Sierpiński triangle example was one of the coolest programs in the book so I said let me give it a shot and typed the "program" into my calculator by hand (it was printed out in the owner's manual). I was hooked - started copying games and other programs into my TI-85 by hand (download code from internet, type into calculator by hand because I couldn't afford the PC adapter cable). After the tenth or so program, the TI-Basic code started to make sense to me and I could start to "read" the code and understand what was going on.
> The Sierpiński triangle holds a special place for me personally as it was the start of my programming journey. I just finished my CS degree. One of my earliest assignments was to write a program for the Sierpiński triangle :)
Can you not press the pen so hard?? Thanks.
"To start us off, choose a point ANYWHERE inside the triangle" I choose the very middle of the triangle. Now what's the final result going to look like? The logic is really skewed and the result is clearly filled out manually. This is content for people who like and believe in the real life application of 5-minute life hack videos. EDIT: Concept is real enough, but the video does a piss poor job of explaining the framework of the Chaos Game. I am not attacking the math, guys - just the video!
Not true, the result will be what he has, with a couple misplaced dots in the middle. After just a couple moves the dots go back into place and will always result in that pattern.
That interested me too, so I wrote a small program to check it out :) Here is the result: [https://i.imgur.com/u7mGWnf.png](https://i.imgur.com/u7mGWnf.png) There is a red dot in the middle, that is the starting point, and then all those tuirqoise shade colors are ones generated subsequently. You can see there are dots in some triangles that are not in the center, and I assume that is because of the (250,250) starting point.
Underrated effort - I think this actually shows a good experiment in statistics once a sample size gets large enough.
I'm too lazy to put 25,000 points on a piece of paper to see if he's lying though
So the whole video is shite and his logic is skewed because he left out a rule?
Ikr, I hate to be the guy to say 'you must be fun at parties' but OP is just acting like a piece of shit just because the guy slipped up on the wording of one of the steps. Guy clearly has some superiority complex
OP the type of guy to see someone doing a magic trick, then acting all smug cause he knows it, then tells everyone how's it done.
/r/restofthefuckingowl
What pen is that?
I think Link came a bit in his tighty whitey's.
Ok so there is a black upside down triangle in the middle right? And the first point is completely random? What of the first random point falls into that blank space?
Thanks! Thanks to you I am once again on one of those mathematical wiki sides about fractal dimensions and dynamical systems I understand jack shit about.
The whole time im like just draw the thing already and then he doesnt even show us how to draw it or let us see him do it
The first guy that figured this out needs a hobby.
now this is amazing
I can ruin this with FIRST DOT. Dead center of original triangle.
I kinda find the “random initial point” hard to believe. How would this work if you pick a point inside the big white triangle in the middel? Then you would have at least a single dot there
I can't imagine you sketched it by hand until it looked so smooth! I just ran a quick calculation in Python an this is where it's at after 10k, 100k and 1 million steps: https://imgur.com/a/R3tt50Q
Uhm actually it's a triforce, uncultured swine
Man, to weird such power and wisdom, and to have the courage to share with others. This guy is a legend.
That took too long.
Uhhh it's called the tri force..
Thinkin you all slick w that spfuakeivuwi triangle shit bitch that’s a triforce
An iterated function system IFS by hand…. Oh man….
Step 3: have a ton of time on your hands.