GabrielMathews.com | Biological Log

Tag: processing

Indexhibit, Processing, Momentum

by Gabriel on Dec.13, 2009, under Design, Stew

Recently, I’ve jumped the train to indexhibit town. The problem being that I am a very impatient person, I tend to rapidly delete files without question and wind up causing a lot of knots in my hair, and sometimes others.

Going back for a minute to good old project Synesthesia. John Locke, an architect in NY had conveniently already did this code. He graciously gave me the source code to mess with. I’m going to be syncing the line-in to the output of the audio analysis so it isn’t file dependent. Right now it is referencing the minim library. This is fine, but because I am impulsively brand loyal, I will be using the Sonia Sound Library. More importantly, because I want to be able to control the number of analysis channels. (my V spans for the final purpose…speaking UVW).

Combining this with a ton of random doodles. I am filling up nicely this winter with creative momentum. I hope to spend a fair chunk of time in Michigan drawing at a coffee shop and voice recording thoughts. We’ll see what happens.

~G

1 Comment :, , , , more...

Processing | Translate(0,0,pos) Easy!

by Gabriel on Sep.01, 2009, under Design

Well I am now able to plot the points through the Z axis! Sweet.

Some may argue that the points are too erratic to be used, however, this is nothing that I can’t take care of in Rhino with a Scale1D function. Alls good.

So now all that is left is to get the current frame and all those preceding to export into the DXF file. For some reason I have a hunch it has to do with the background() call and where it is located in the script. I messed with the colors so you can see depth a bit. I really would love it if the spectrum dictated the stroke color as it gets higher, but one thing at a time.

Next up is the frame export, but beyond that, I’d also really like to know how to create the surface w/in the processing environment all at one. hmmm…suggestions?

The only bad part is now I am obsessing about code. Really interesting possibilities. I tweeted(@sirgabe)  today about a person(s) that is selling laser cut jewelry that is generated dynamically through a processing function. Really pretty stuff. You can see it here.

~G

Leave a Comment :, , , , , , more...

Project Synethesia | Making headway

by Gabriel on Aug.30, 2009, under Design, Stew

Great deal of progress today.

Finally was able to figure out how to take the audio data and create a single “frame” of DXF export data.

A-Input data through line in (Speaker to mic for this example).

B-Processing sketch analysis of data. Press R to record a dxf of the current frame.

C-Imported frame in E-Drawings.

Next steps:

-Compile the stream and record as one constant DXF file. (I was able to set it to record a DXF for as long as my ‘R’ key was pressed, but it was in the format of ‘Output-###.dxf’ and wound up giving me hundred of dxf files for either frame. I suppose I could import each frame to Rhino using the import function, but it would take forever considering the amount of data this stream generates.

I’d like to limit the sample to around 10 fps as any bigger than that will generate a hell of a large mesh.

-With each step, I need to create a Z++ type step so the next frame is created on the z=0 frame and the previous step back in space +1. I have no idea how to start that. but I’m sure I can figure it out.

-One other thing I’d like to do is be able to reverse the export as when I export the data out, it flips on the x-axis. Small detail. I tried giving -negative values to the input code, but that just wound up giving me faulty INT data.

Not bad for around only 8 hours of learning!

When this is done I will be sure to post a link to the exe file.

~G

Leave a Comment :, , , , , , , more...

Find it...

Use the form below to search the site:

Can't find what you are looking for? Let me know via comment section, and I'll see what I can do.