|
Author |
Topic: faux fluid dynamics (Read 11361 times) |
|
arielm
|
Re: faux fluid dynamics
« Reply #1 on: Mar 1st, 2004, 11:44am » |
|
i'm intrigued by the grid of white dots that emmerge in the second example: what is the story behind?
|
Ariel Malka | www.chronotext.org
|
|
|
skloopy
|
Re: faux fluid dynamics
« Reply #6 on: Mar 2nd, 2004, 3:27am » |
|
Wow the lava one is so cool! If you press your face up to the monitor it looks really depthy. I did kind of an interactive thing like that for http://www.motiontheory.com a long time ago. It wasn't in p5 but it's up there if you wanna see it. I wonder how it would look if you didn't use background() on the firehair one..
|
« Last Edit: Mar 2nd, 2004, 3:36am by skloopy » |
|
|
|
|
flight404
|
Re: faux fluid dynamics
« Reply #7 on: Mar 2nd, 2004, 6:37am » |
|
Rivulets. Still need to work on the palette... way too lavender. http://www.flight404.com/p5/video/rivulets.mov UPDATE --------------------------------------- Just put up a better looking version. http://www.flight404.com/p5/video/rivulets2.mov scloopy - thx. The lava one came out really nice. need to figure out a way to keep the look of the first 30 or so frames throughout the duration of the piece. The lava effect works really well at the beginning, but begins to fall apart quickly into an effect more like Rivulets. BTW, Fire hair without a set background, inclusion of blurring code, and a color change looks a bit like this piece. OH! And the effect on the homepage of motiontheory is quite elegant. How did you accomplish the effect?
|
« Last Edit: Mar 2nd, 2004, 7:21am by flight404 » |
|
|
|
|
skloopy
|
Re: faux fluid dynamics
« Reply #8 on: Mar 2nd, 2004, 7:55am » |
|
Hey flight404! I was thinking it seems like the reason the lava degrades into something like rivulets is cuz the particles start to overlap after a while so it's drawing like 20 particles per pixel or something.. If you had some code that cheched nearby particles and moved away from them if there's overlap maybe it'd do the trick. It might be slow, but you're rendering it anyway.. That motion theory thing is just run by a grid of rotation values, and they randomize themselves every few frames. It's kind of a copy of this old afterdark screen saver Autumn Leaves. Each particle checks to see which section of the grid it's in and then moves depending on the four rotations around it. I found out later it's called a flow field or something. I think it's the same idea except a lot lower resolution than yours!
|
|
|
|
flight404
|
Re: faux fluid dynamics
« Reply #10 on: Mar 2nd, 2004, 6:47pm » |
|
Ahhh. Flow fields. Time to do a little research. Sparks. Hooked up Sonia to one of these experiments. Again, since these are screen grabs, the audio needs to be imagined. Louder noise, brighter color shift and more chaotic movement. http://www.flight404.com/p5/video/sonia_sparks_sm.mov
|
|
|
|
Quasimondo
|
Re: faux fluid dynamics
« Reply #11 on: Mar 2nd, 2004, 9:19pm » |
|
Wow - that's really cool - you can almost feel the beats.
|
Mario Klingemann | Quasimondo | Incubator | côdeazur
|
|
|
toxi_ Guest
|
Re: faux fluid dynamics
« Reply #12 on: Mar 3rd, 2004, 7:24pm » |
|
robert, ++good to see you're back on the ball! love the fluids and the way you're using noise(). this idea has lots of potential and i've got to admit i already played around with your code (yet again!) so i found out, you can get quite a nice "hairy" look by using longer lines for each particle and making their colour dependent on the line's current angle. i also tried to define a "highlight" angle to simulate glossy hair. basically, the closer a line's angle to this highlight/specular angle, the brighter and less saturated the line is drawn. gives a nice shine. http://www.toxi.co.uk/p5/remixed/hair2.mov (2.7MB) http://www.toxi.co.uk/p5/remixed/hair3.mov (1.9MB) will post the source in a bit...
|
|
|
|
flight404
|
Re: faux fluid dynamics
« Reply #13 on: Mar 3rd, 2004, 9:47pm » |
|
TOXI!!!!!!! You did it to me again. That hair looks amazing. Spot on with the color scheme. I wanna see the code! r
|
|
|
|
bsr
|
Re: faux fluid dynamics
« Reply #14 on: Mar 3rd, 2004, 11:02pm » |
|
thats frankly incredible. props to both of you.
|
http://hippocamp.net
|
|
|
|