|
Author |
Topic: square grid (Read 733 times) |
|
youhou
|
square grid
« on: Aug 19th, 2003, 7:56pm » |
|
hi! this is pretty much my first attempt with processing. please comment since i don't know how to optimize this code and i'm way too lame with matrix and 2d in general. http://81.57.229.39/xp/grid1/applet/
|
« Last Edit: Aug 19th, 2003, 7:58pm by youhou » |
|
|
|
|
Glen Murphy
|
Re: square grid
« Reply #1 on: Aug 20th, 2003, 11:49am » |
|
Nice work! especially for a first attempt. You could try doing something like changing the lighting depending on what direction/angle the face is, so it looks like the lightsource is in a corner or something. Give it some more 'depth' (or height, for that matter).
|
|
|
|
youhou
|
Re: square grid
« Reply #2 on: Aug 21st, 2003, 9:51am » |
|
thank you. i'll try to implement a faster algorithm if i manage to find one. maybe with vector length & angle i'll try the lighting stuff when i'll get to that. by the way does anyone knows if p5 pre compute cos() an sin() with tables? since it might be faster. (actually i discovered processing via bodytag, that's where i thought of that grid thing)
|
« Last Edit: Aug 21st, 2003, 9:52am by youhou » |
|
|
|
|
|