Animator Library - 2nd Alpha version

Nikolaus Gradwohl2011-11-13T15:47:31+01:00

I gave some more code and love to my animator-library for processing and I think it has improved enough to release a new version

Animators can now be added to a Sequence

Sequence s = new Sequence();
s.addAnimator( new LinearAnimator( 500,100,200 ));
s.addAnimator( new SquareAnimator( 200, 200, 100 ));

the sequence can be started using s.start() and the value is fetched using s.get()

A simpler form of defining sequences is to use the string-parser

the same Sequence as above can be defined using

Sequence s = Sequence.parse( "S100,L500->200,Q200->100");

The animators are separated with a comma, each block starts with a letter and one or two parameter

  • "S" is the start value
  • "L" defines a LinearAnimator the first integer defines the time the second one the target value
  • "Q" defines a SquareAnimator the first integer defines the time the second one the target value
  • "R" defines a RootAnimator the first integer defines the time the second one the target value
  • "D" defines a Delay in milliseconds

I also added a bunch of new Examples that show how to use the new features

As always feedback is very welcome!

Simple Example Sequence Example Parser Example Clock Example

trigonometric plasma

Nikolaus Gradwohl2011-11-11T06:12:25+01:00

This is processing sketch that generates a plasma effect using sine and cosine functions

click here to start the sketch or download the sourcecode.

plasma

retro lineart sine-waves

Nikolaus Gradwohl2011-11-10T06:11:06+01:00

this little sketch was developed more on chance than on purpose, I was playing around with sin waves and visualizations of fft-spectra when I came up with this - It reminds me a bit on my first experiments with sine and cosine on my old Atari ST.

Just click on the sketch move the mouse

click here to start the sketch or download the sourcecode.

retro line waves

chaotic pendulum

Nikolaus Gradwohl2011-11-09T06:08:12+01:00

I made a processing sketch featuring a chaotic cpendulum - well not quite chaotic but it has a veeeery long periode before the pattern is repeated exactly

click here to start the sketch or download the sourcecode.

chaotic pendulum

A Perlin-Noise Force-Field

Nikolaus Gradwohl2011-11-08T06:06:45+01:00

I made a processing sketch today that shows some particles move in a perlin-noise based force field. The field changes at random times

click here to start the sketch or download the sourcecode.

Perlin-Noise based Force-Field

bubble emitter

Nikolaus Gradwohl2011-11-06T17:52:03+01:00

I made another processing sketch featuring bubbles - this time the bubbles are emitted from a central particle emitter and fade to black as they grow

click here to start the sketch or download the sourcecode.

Bubble Emitter

Project-Page for Animator-library

Nikolaus Gradwohl2011-11-05T11:35:31+01:00

I just made a Project-page for my animator-library

I also started adding some basic Documentation and added a download link to the source-code which I totally forgott in the anouncment blog post

first Alpha-Version of a Animator-library for Processing

Nikolaus Gradwohl2011-11-04T04:29:55+01:00

I'm currently working on an animation framework for processing. It's currently very unpolished but following the open-source mantra "publish early - publish often"

tadaaaa! - here is the first alpha-version

to install it unzip the package in the library folder of your sketchbook

There isn't much documentation yet (*looking ashamed*) buuut I made a short example sketch to show how it's used.

an Animator object can be defined using

Animator a = new LinearAnimator( time, startvalue, stopvalue );

it's started using

a.start();

and the current value can be fetched using

float v = a.get();

I currently implemented a LinearAnimator-, a SquareAnimator- and a RootAnimator-class.

I plan implement chaining of animators, callback-handlers, repeat suppor, many more animation types and - ahem - more detailed documentation

Feedback is very welcome.

click here to start the example sketch or download the sourcecode.

A click with the left mouseButton starts the animation of the circle.

A click with the right mouseButton start the animation of the square.

animator start animator start

first impression of processing2.0a2

Nikolaus Gradwohl2011-11-03T06:20:31+01:00

I downloaded the 2nd alpha version of processing 2.0 yesterday and played a bit with it. The first two things I noticed are that processing switched to gstreamer for playing videos! finally! I really love this, because I mainly use processing on my linux box and had to install it my hand.

The second thing that cougt my eye is that the modes list has been extendet by a javascript mode. So you can write a processing.js, a classic processing and an android version of a sketch using the same ide just by switching modes - very nice!

There are tons of other improvements and little changes I haven't tried yet, but the switching of the video framework alone makes it worth upgrading :-)

fading dots

Nikolaus Gradwohl2011-11-02T06:27:47+01:00

I'm playing with animations currently and this is a simple test of animating the fadeout of objects. In this case I animate small circles that appear in the screen and then fade into nonexistence - just to reapear anywhere else on the screen. Sounds very philosophical for some simple fading dots - doesn't it? :-)

click here to start the sketch or download the sourcecode.

fading dots