3 ms·
Looks like this would be awesome but I can't seem to get it to work (ITEM 149)...I tried for lots of different values of epsilon. Maybe I'm misunderstanding wh
by binarymax 15y ago
Looks like this would be awesome but I can't seem to get it to work (ITEM 149)...I tried for lots of different values of epsilon. Maybe I'm misunderstanding what a point-plotting display is?
http://jsbin.com/umurar/edit#source http://jsbin.com/umurar/edit#source
EDIT: err - nevermind, I had a silly bug that didnt update the old values. Kinda working now!
http://jsbin.com/umurar/6/edit#source http://jsbin.com/umurar/6/edit#source
- wazoox 15y agoYour code doesn't work because x and y values don't change ever. Try adding oldX = x; oldY = y; after "p=parseInt ..." and surprise, it'll draw circles :)
- daeken 15y agoI just took your 6th revision and started playing around with the parameters, and it's interesting how much variation you can get with simple manipulation: http://jsbin.com/umurar/11/edit http://jsbin.com/umurar/11/edit