We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › could be used for sound illustration
Page Index Toggle Pages: 1
could be used for sound illustration (Read 1909 times)
could be used for sound illustration
Jul 5th, 2009, 11:07am
 
code: ionio.gr/~av200640/Untitled.rtf

v: create new object

after pressing v create it by pressing mouse left

b: spin it
c: spin it around your mousex,y
x: white background

mouse x / y : spin controls

i would appreciate some feedback while i am still developing it!
Re: could be used for sound illustration
Reply #1 - Jul 5th, 2009, 12:47pm
 
if you got the chance to upload it. why dont you upload the sketch?

btw, i like damien rice too Smiley
Re: could be used for sound illustration
Reply #2 - Jul 5th, 2009, 4:20pm
 
I got a memory error when I tried running it.  I reduced the size of the arrays and it worked.  I think it could probably be optimised somewhat, and there's some weird delay effect which means that the outcome of pressing a button isn't immediately obvious...  Interesting patterns though.
Re: could be used for sound illustration
Reply #3 - Jul 5th, 2009, 5:13pm
 
http://www.ionio.gr/~av200640/color/

yeap, Rice is too good!

here is an improoved version

q zoom+
w zoom -
r,t,y,u,i,o = r,g,b,many colors,b,w

it wont open with my browser thats why i didnt uploaded it already but the code is allright....  probably baaaad english
Re: could be used for sound illustration
Reply #4 - Jul 6th, 2009, 12:44am
 
I still get a memory error and that's hardly surprising seeing as you declare 8 arrays of length 10 million for no justifiable reason   Angry

Given that there's no obvious need for arrays of that length - except to avoid an outOfBounds error in your mousePressed code - this is grossly inefficient, as they will be allocated memory regardless of whether they are filled.  You should either consider using ArrayLists or set a limit on the number of points that can be drawn and check against this on mousePressed.
Re: could be used for sound illustration
Reply #5 - Jul 6th, 2009, 9:22am
 
u r right, i will modify it a bit according to what u said... wrote :_)
Re: could be used for sound illustration
Reply #6 - Jul 7th, 2009, 12:13am
 
Re: could be used for sound illustration
Reply #7 - Jul 15th, 2009, 12:12pm
 
Re: could be used for sound illustration
Reply #8 - Jul 22nd, 2009, 4:20am
 
Page Index Toggle Pages: 1