Coding Challenge: Dragon Curve Fractal Animation

Coding Challenge: Dragon Curve Fractal Animation

The Coding Train via YouTube Direct link

Rotate all the segments

6 of 16

6 of 16

Rotate all the segments

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Coding Challenge: Dragon Curve Fractal Animation

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Introduction
  2. 2 The Nature of Code book
  3. 3 Explain algorithm
  4. 4 Start coding
  5. 5 Write rotate function
  6. 6 Rotate all the segments
  7. 7 We have the dragon curve!
  8. 8 Add animation
  9. 9 Add the starting positions for a and b
  10. 10 Scale the lines
  11. 11 Add a nextGeneration function
  12. 12 The reduction ratio
  13. 13 Target zoom
  14. 14 Challenge complete!
  15. 15 What can you do?
  16. 16 Outro

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.