Quaternion for Processing

August 19th, 2014

I (and @robbietilton) just needed so I wrote a simple quaternion class that comes in handy when recursively rotating PVectors. The detailed documentation is on GitHub.

GitHub
Download


// usage examples

PVector v = new PVector(1,0,0);
Quaternion q = new Quaternion(radians(30), new PVector(0,0,1)); // rotate 30 degrees around z-axis
v = q.mult(v); // apply rotation to the vector


PVector v2 = new PVector(0,1,0);
Quaternion xRot = new Quaternion(radians(30), new PVector(1,0,0)); // rotate 30 degrees around x-axis
Quaternion yRot = new Quaternion(radians(30), new PVector(0,1,0)); // rotate 30 degrees around y-axis
v2 = xRot.mult(yRot).mult(v2); // apply two rotations to the vector

nu.it album info

August 2nd, 2014

If the delicate music pieces have caught your interest, check out more tracks from the Album, nu.it at Basukaru’s label site. The album is available via mail orders and record stores. If you luckily live in Japan, there are more local stores you can just go and get one.

“The “field” of experimental ambient music (if there is such a thing) needs Sawako’s delicate, measured, expansive touch. We connoisseurs yearn for it. Sadly, the woman who describes herself as a “sound sculptor” and a “signal alchemist” is so busy – think of her audio-visual installation at the planetarium of the Sonar Festival or her numerous live performances, including an appearance on Ryuichi Sakamoto’s radio show – that we simply had to wait. This time, the waiting lasted six years before we could put our ears on a follow-up to her exquisite 12k release Bitter Sweet. And, of course, nu.it is well worth the wait.”

nu.it

July 30th, 2014

The sound has been gripping and keeping me a little late ever since Sawako shared me the tracks from her 5th album, nu.it, and here are some stuff came out of it. All code-generated.

locus of everyday life from kynd on Vimeo.

Music: “locus of everyday life” by sawako(http://troncolon.com/)

nemumel from kynd on Vimeo.

Music: "nemumel" by sawako(http://troncolon.com/)

Watercolor and charcoal drawing in realtime 3D

June 28th, 2014

Experiments on realtime painting/drawing looking rendering. Examples are all done with the same set of shaders with slightly different parameters.
Thom Yorke one was a bit slow because the data is provided as a series of csv files and it’s loading one file per frame. I could make it faster when rendering the video but kept it slow since the noise around his hair was too jarring in 30fps.

point cloud to drawing from kynd on Vimeo.

point cloud Thom Yorke from back in 2008
http://creativecommons.org/weblog/entry/8476

charcoal drawing study from kynd on Vimeo.

3D data: Walt Disney Head by David OReilly
http://blog.davidoreilly.com/post/18087489343/disneyhead

Related Posts with Thumbnails