News for hackers. Stuff that matters.
Re:A Retina-ready version of the deJong Attractor by Jacob4u2 on Sunday October 28, 2012 @12:10PM (#4709232)
I noticed that dragging around causes the graph to change. I know I should just look at the source, but can someone tell me what inputs the dragging changes for the computation? Also, bonus points for some cool drags I can do that you notice.
Re:A Retina-ready version of the deJong Attractor by jashkenas on Sunday October 28, 2012 @12:23PM (#4709267)
This is the bit that records the dragging change in mouse position:

http://jashkenas.s3.amazonaws.com/misc/deJong/docs/deJong.ht...

This is the bit that seeds the sketch at the last recorded mouse position:

http://jashkenas.s3.amazonaws.com/misc/deJong/docs/deJong.ht...