PDA

View Full Version : Napkin



antongranik
November 25th, 2007, 09:56 AM
http://www.ljplus.ru/img4/a/n/antongranik/napkin1.gif

These beautiful napkins are drawn by a very simple formula:

x = y - sign (x) * sqrt ( abs ( B * x - C ))
y = A - х

View them being drawing here (http://granik.com/flashexp/napkin_bmp.html) (press the spacebar there to regenerate with the new random constants a, b and c). Download the source here (Flash 8 (http://granik.com/flashexp/napkin_bmp.fla)). View some interesting iterations here (http://antongranik.livejournal.com/15502.html) (LJ).

DavidOrtiz
November 25th, 2007, 04:37 PM
hey anton, that's awesome!

Sort of reminds me of the desperate times i spent on L-systems and then giving up. :(

VirgoAnima
November 27th, 2007, 10:43 AM
lol.... clearly my definition of napkin is wrong