Sierpinski triangle programs by 5 AI models
-
This post did not contain any content.
Sierpinski triangle programs by 5 AI models
Sierpinski triangle programs by 5 AI models
(slicker.me)
-
This post did not contain any content.
Sierpinski triangle programs by 5 AI models
Sierpinski triangle programs by 5 AI models
(slicker.me)
I'm disappointed that none of them seem to have gone with the random convergence approach.
Set the three corners of an equilateral triangle. Pick a random starting point on the canvas. Every iteration, pick a random corner from the triangle and your next point is the midpoint between the current point and that corner. While the original point is almost guaranteed not to be a point in Sierpinski's triangle, each iteration cuts the distance between the new point and the nearest Sierpinski point in half.
If you start plotting points starting with (say) the 50th one, every pixel is "close enough" to a Sierpinski point that you see the triangle materialize out of nothing. The whole thing could be programmed in about 20 lines of QBasic on DOS 30 years ago.
-
I'm disappointed that none of them seem to have gone with the random convergence approach.
Set the three corners of an equilateral triangle. Pick a random starting point on the canvas. Every iteration, pick a random corner from the triangle and your next point is the midpoint between the current point and that corner. While the original point is almost guaranteed not to be a point in Sierpinski's triangle, each iteration cuts the distance between the new point and the nearest Sierpinski point in half.
If you start plotting points starting with (say) the 50th one, every pixel is "close enough" to a Sierpinski point that you see the triangle materialize out of nothing. The whole thing could be programmed in about 20 lines of QBasic on DOS 30 years ago.
random convergence
- isn't it the fourth one (NinjaTech)?
-
random convergence
- isn't it the fourth one (NinjaTech)?
Oh, maybe! I didn't understand how it chose the points, but it does look like the random convergence approach.
Nice, thanks!
-
This post did not contain any content.
Sierpinski triangle programs by 5 AI models
Sierpinski triangle programs by 5 AI models
(slicker.me)
-
YouTube Loosens Video Content Moderation Rules | The world’s largest video platform has told content moderators to favor “freedom of expression” over the risk of harm in deciding what to take down.
Technology1
-
-
‘I sold my iris; now what?’: What drives Brazilians to hand over their unique, personal data
Technology1
-
-
Trump Media & Technology Group, the company owned by the President, said Tuesday that it would raise $2.5 billion to invest in Bitcoin
Technology1
-
-
-
“No Apple tax means we will lower prices” - Proton announces lower prices for users by up to 30% after US ruling against Apple fees
Technology1