Live data from Hacker News

Spirograph in HTML 5

codepen.io

11–20 of 21 posts

Re: Spirograph in HTML 5

#11
I find Hal Abelson's book Turtle Geometry [1] fascinating. It describes a dialect of Logo (the graphical routines could probably be implemented relatively easily in Python/Tkinter or Tcl/Tk or something like Processing).

Once the basics are described, then it uses them to go on to explore things like non-euclidian geometry (and maybe topology?).

[1] http://www.amazon.com/Turtle-Geometry-Mathematics-Artificial...

Re: Spirograph in HTML 5

#12
Any concerns with epilepsy, running at the higher speeds? Seemed like the rendered spirograph got into the relevant frequency range.

Re: Spirograph in HTML 5

#16
Great to see this. It reminds me of the original toy.

If I had the time/inclination, a kickstarter based on the original toy that rendered on paper and screen might be an interesting plaything.

Another future angle could clearly involve 3d-printing of the disks.

Good stuff.

Re: Spirograph in HTML 5

#19
Is that code formatting automatic? if yes, how did you do? (comma, variable number of spaces, key, value)

     {
      orientation : 'vertical'
      ,   animate : true
      ,     value : 100 * radii[ ix + 1 ]
      ,     slide : onChange
      ,    change : onChange
      ,      step : .01
    }

Re: Spirograph in HTML 5

#20
post #18

How do I control the speed? Turning the "Speeds" control up or down only seem to make it go really fast.

It's slow in the middle, cause I think you are just changing the direction, by maxing it out.
Post reply on HN