|
Author |
Topic: soni(a)c hair (Read 2439 times) |
|
toxi
|
soni(a)c hair
« on: Nov 20th, 2003, 7:18pm » |
|
okay, lovely people - been playing around with some hairy stuff over the weekend and just finished my 1st little piece using the almighty SONIA. the main part of the code is actually a strang based particle system class to simulate hair. as it stands it's using 800 strands of hair, so it might be a tad slow on older boxes. but the more, the better in this case, so i recommend to increase the number in the code. each particle system has a number of (slightly randomized) parameters, such as direction, length, curlyness, colour, grow speed and smoothness plus there's a global gravity value too. http://www.toxi.co.uk/p5/sonicHair/ it's a bit creepy to look at but hey, you can wiggle & even talk to it!
|
http://toxi.co.uk/
|
|
|
Ale_k
|
Re: soni(a)c hair
« Reply #2 on: Nov 21st, 2003, 11:37am » |
|
Real amazing. Beautiful. Alessandro
|
|
|
|
benelek
|
Re: soni(a)c hair
« Reply #3 on: Nov 21st, 2003, 2:26pm » |
|
this applet causes a red cross and freezes my browser. is there anything in particular I have to have plugged in to make it work? win2k with IE6...
|
|
|
|
pitaru
|
Re: soni(a)c hair
« Reply #4 on: Nov 21st, 2003, 2:45pm » |
|
Toxi- i can't wait to release the next version of sonia, just to see what you'll come up with! wrd. Benelek - have you installed the jsyn plugin as toxi specifies on his page? usually - that's the reason for the red cross. -amit
|
|
|
|
arielm
|
Re: soni(a)c hair
« Reply #5 on: Nov 21st, 2003, 3:25pm » |
|
add to the list of superlatives that this piece has a very strong suggestive potential
|
Ariel Malka | www.chronotext.org
|
|
|
toxi
|
Re: soni(a)c hair
« Reply #6 on: Nov 21st, 2003, 4:48pm » |
|
thanks guys! i'm just amazed myself how easy and quick one can mock up quite complex things with Processing. and ariel, i initially intended to submit this to the nano festival because of its look - but then learned the deadline passed ages ago and so i tried very long to avoid that suggestive look, but all other layouts/colours just didn't look as good. nature always wins with harmony... which too is part of the reason for the golden ratio used for the applet dimensions
|
http://toxi.co.uk/
|
|
|
Koenie
|
Re: soni(a)c hair
« Reply #7 on: Nov 22nd, 2003, 12:59pm » |
|
Very very nice. I just wished I could use SONIA too...
|
http://koeniedesign.com
|
|
|
pitaru
|
Re: soni(a)c hair
« Reply #8 on: Nov 22nd, 2003, 2:41pm » |
|
Koenie - i'm still trying to figure out reasons for why it is not working on your machine. i hope the upcoming version will fix the problem - let's see. Toxi - i just found out that it also reacts to the mouse. i love the fluidity of the strang class - amazing!
|
|
|
|
christian
|
Re: soni(a)c hair
« Reply #9 on: Nov 22nd, 2003, 4:48pm » |
|
hi koeni ! which os do you run? maybe i know something for you...
|
|
|
|
Koenie
|
Re: soni(a)c hair
« Reply #10 on: Nov 22nd, 2003, 5:53pm » |
|
Christian, I'm running windows xp. You got something for me? Koenie
|
http://koeniedesign.com
|
|
|
toxi
|
Re: soni(a)c hair
« Reply #11 on: Nov 22nd, 2003, 7:58pm » |
|
hey, i'm running win xp myself. can you run any other SONIA examples, e.g. ones which don't use audio input? have you downloaded and installed the plug-in from the JSyn website? am a bit clueless why it wouldn't work else... will do some more reading in the docs... actually, using the microphone is not this much better than using the mouse with the hair demo. all it does is thrusting the hair up if the input is quickly changing. it's rather basic and i'm working on a more sophisticated solution. for now, i've uploaded a SONIA-free version here: http://www.toxi.co.uk/p5/sonicHair/hairOnly.pde hth!
|
http://toxi.co.uk/
|
|
|
Koenie
|
Re: soni(a)c hair
« Reply #12 on: Nov 23rd, 2003, 1:12pm » |
|
Yes, I got the JSyn plugin and I tried stuff that doesn't use audio input, because I only want to play samples. But when I run it, the sample DOES play, but the window just freezes. Koenie
|
http://koeniedesign.com
|
|
|
pitaru
|
Re: soni(a)c hair
« Reply #13 on: Nov 23rd, 2003, 11:29pm » |
|
I've just found a bug that may be related; Sonia only works in 'Active Mode'. In other words, make sure to work form within the setup() and loop() events. This will only work in browsers: sample mySample = new sample("sine.aiff"); mySample.setVolume(1); mySample.repeat(); to fix, modify like so: sample mySample; void setup(){ mySample = new sample("sine.aiff"); mySample.setVolume(1); mySample.repeat(); }
|
|
|
|
christian
|
Re: soni(a)c hair
« Reply #14 on: Nov 24th, 2003, 2:51am » |
|
i hope amit is rigth... in my case, it took me a certain time to make the jSyn-thing going. but since what you ve written, this is not your problem.?
|
|
|
|
|