This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
commit d98699cb3797b07ec1cb239b9acaefdb0948897a
tree 23f195ca1b499cc426465075ee59cbfaaa91c55e
parent cd304a77fea26ba112b7faf7986ece80fd706a55
tree 23f195ca1b499cc426465075ee59cbfaaa91c55e
parent cd304a77fea26ba112b7faf7986ece80fd706a55
| name | age | message | |
|---|---|---|---|
| |
README | Thu Feb 26 22:21:22 -0800 2009 | |
| |
dist/ | Thu Apr 09 01:32:52 -0700 2009 | |
| |
example/ | Thu Apr 09 01:32:52 -0700 2009 | |
| |
src/ | Thu Apr 09 01:32:52 -0700 2009 |
README
A library for processing (http://processing.org) to render/control Animata (http://animata.kibu.hu) scenes. Usage: // -------------------------------------------------------------------------------------------- AnimataP5 playback; void setup(){ // The nmt file must be in your data folder with the related images playback = new AnimataP5(this,"myscene.nmt"); } void draw(){ playback.draw(0,0); // draw scene translated of (0,0) playback.moveJointX("myjoint",100); // set x-coordinate of "myjoint" to 100 playback.moveJointY("myjoint",10); // set y-coordinate of "myjoint" to 10 playback.setBoneTempo("mybone",.5); // set tempo of "mybone" to .5 playback.setBoneRange("mybone",.2,.6); // set the range of "mybone" between .2 and .6 playback.setLayerAlpha("mylayer",120); // set the alpha value of "mylayer" to 120 (0=transparent/255=opaque) playback.setLayerScale("mylayer",1.5); // set the scale of "mylayer" to 1.5 playback.setLayerPos("mylayer",66,99); // set the position of "mylayer" to (66,99) } // -------------------------------------------------------------------------------------------- You can have several instances of the same Animata scene (same file) and control each joint/bone/layer individually. To compile you need the Processing library (core.jar). Examples to come soon. // --------------------------------------------------------------------------------------------







