Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Sierpinski triangle

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
416 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Feb 27, 2011

Sierpinski triangle

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (4)

Sign In or Sign Up now to post a comment!
  • @dedly13 Hehe, well I would get a stack overflow. Theoretically if the recursion would continue, and I didn't zoom in, then there would be no big difference because I have already used up all the pixels.

  • @account1011011 would have been interesting if you forgot the end step :L

  • @dedly13 I had a function drawTriangle that simply draws a triangle at a spesific position with a given size. At the end of the function I called drawTriangle recursively three times. I also needed to specify the base case, that is when to end the recursion.

  • how did you make this?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more