ScratchData LogoScratchData
Back to selim_tezel's profile

3D Space-Filling Hilbert Curve

SEselim_tezel•Created June 6, 2016
3D Space-Filling Hilbert Curve
50
32
1104 views
View on Scratch

Instructions

This demo employs a 3D interface to display iterations of 3D Space-Filling Hilbert Curve. Keys: 1,2,3 display iteration levels 1,2,3 respectively Up/Down Right/Left arrows and a/z keys rotate the object along the x,y,z axis.

Description

My thanks to kylefinn at stackoverflow.com for this algorithm. My sincere thanks to gtoal for his excellent discussion titled: How to create local variables in a recursive procedure. https://scratch.mit.edu/discuss/topic/55352/ The 3D interface is a based on a projection algorithm I developed some years ago to make Geometer's Sketchpad display 3D curves. I learned a tremendous amount from @Mr_Pyro_ 3D Wireframe Engine project about optimizing rendering and keyboard effects. Much much thanks.

Project Details

Project ID112796919
CreatedJune 6, 2016
Last ModifiedAugust 4, 2016
SharedJune 7, 2016
Visibilityvisible
CommentsAllowed