Added: 1 year ago
From: account1011011
Views: 419
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (4)

Sign In or Sign Up now to post a comment!
  • how did you make this?

  • @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.

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

  • @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.

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