-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|513|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Article Home -> Graphics 2D


 
Jayenkai
Created : 18 October 2010
Edited : 18 October 2010
System : Windows
Language : Blitz

Hilbert in Blitz



Hilbert Curve

Never heard of these before Spinal mentioned them yesterday. They're kinda neat!

Since I'm procrastinating, and trying not to finish my first AGameAWeek game of the year, I figured I'd do it in Blitz.

...
So here's that..

It's a bit messy, but it works!


 

Comments


Monday, 18 October 2010, 10:44
JL235
I found it funny that on the Wikipedia page for that the Java version is twice as long as the Python one, whilst Haskell's is only 3 lines.
Monday, 18 October 2010, 10:52
Jayenkai
I found the Turtle one to be the least baffling, hence my approximation of it, here!
Wednesday, 27 October 2010, 08:32
Andy_A
I found an old listing lurking on my hard drive. It's a QB listing coverted to B+


Wednesday, 27 October 2010, 19:45
steve_ancell
I still don't get why it's called a Hilbert Curve, when the thing draws bloomin' right angles
Wednesday, 27 October 2010, 20:31
Jayenkai
lol