ScratchData LogoScratchData
Back to papipupepappa's profile

Chamfered Dragon Curve

PApapipupepappa•Created June 27, 2024
Chamfered Dragon Curve
9
5
130 views
View on Scratch

Instructions

Click the green flag to render a dragon curve. Play around with the sliders and the button :)

Description

This version adds a second mode with chamfered (flattened) corners, which I think looks very satisfying, especially when animated. Achieving this required much more experimenting and thinking than I had expected. I got the idea from an animation in this Wikipedia article: https://en.wikipedia.org/wiki/Dragon_curve When calculating the shorter segment lengths for mode 2, I use the silver ratio: https://en.wikipedia.org/wiki/Silver_ratio

Project Details

Project ID1042459846
CreatedJune 27, 2024
Last ModifiedJune 27, 2024
SharedJune 27, 2024
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root