Closed Thread Icon

Topic awaiting preservation: Playing with Bezier curves... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=25731" title="Pages that link to Topic awaiting preservation: Playing with Bezier curves... (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Playing with Bezier curves... <span class="small">(Page 1 of 1)</span>\

 
Iron Wallaby
Paranoid (IV) Inmate

From: USA
Insane since: May 2004

posted posted 05-11-2005 07:48

Been in an artsy slump for a long time, I blame the excessive schoolwork which is now ended (well, will be as of 14:30 today).

http://www.rpi.edu/~laporj2/art/dynamic/javascript/frombehind.html

Present for my girlfriend, who finds it surprising that she's beautiful no matter how I see her. And it's not a panda/bunny. Rare for me.

Currently 18 lines (though it's hard to tell with all those function returns). If I find an elegant way to squish stuff down another 3 lines, I'll clean up that nasty document.write.

---
Website

(Edited by Iron Wallaby on 05-11-2005 07:50)

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-11-2005 07:52

Off-topic: I'm not sure if you're aware, but we go to the same school, judging from your URLs. If you'd like to meet before you leave let me know; I graduate a week from Saturday so this would be the only chance.


 

Iron Wallaby
Paranoid (IV) Inmate

From: USA
Insane since: May 2004

posted posted 05-11-2005 08:08

I sent an email to you of that effect (through the Ozone email thingy) when I saw the picture you took from Carnegie of the sunset, seems that it's been lost in the internet void.

Let me get back to you on that one later -- it's late and I should be sleeping before my exam tomor... today. If you want to exchange email, you can easily guess my RPI address.

---
Website

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-11-2005 09:02

I just checked my profile, and I don't even have an email set up for this forum! I wonder why it let you try? Anyway, obviously I never got your email. I'll send you one.


 

TwoD
Bipolar (III) Inmate

From: Sweden
Insane since: Aug 2004

posted posted 05-11-2005 11:27

Nice curves lol
Clean and easy to understand code too

/TwoD

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 05-11-2005 20:57

Gorgeous curves
The code puzzled me at first. The spline "function" is clever.

If you absolutely want to remove the document.write and stay in 20 lines, you can use the isNull() nasty trick to combine the declaration of an empty string within the init expression of the for in plot( x,y,weigh ), and combine the increment expression and the concatenation of the string. Finally you just have to append the string to the document.body.

But the code would be far less elegant.

« BackwardsOnwards »

Show Forum Drop Down Menu