// Add the library to the sketch import signal.library.*; // ----------------------------------------------------- // Create the filter SignalFilter myFilter; // ----------------------------------------------------- // Variables for the dummy & filtered signal float sourceSignal; float noisySignal; float filteredSignal; void setup() { // ----------------------------------------------------- // Initialize the filter myFilter = new SignalFilter(this); // ----------------------------------------------------- } void draw() { // Generate a dummy signal sourceSignal = sin(frameCount / 1000.0); // Add random noise to our dummy signal noisySignal = sourceSignal + random(-0.05, 0.05); // ----------------------------------------------------- // Filter the signal filteredSignal = myFilter.filterUnitFloat( noisySignal ); // ----------------------------------------------------- // Display the results in the console println(""); println("Source = " + sourceSignal); println("Noisy = " + noisySignal); println("Filtered = " + filteredSignal); }
Hello everyone, I'm very excited to announce the release of Movelib; a library that brings support for the PSMove motion controller to Processing. Movelib is based on Thomas Perl's PSMove API.
Get the lib and code here: https://github.com/SableRaf/movelib
Note: the library has been successfully tested on Mac an Linux. There is currently no reliable bluetooth pairing method for Windows but I will test as soon as the situation changes.
Join us for a day of coding, interaction and fun! Following the success our first Processing Code Jam back in February, we are back with a new edition! It will be bigger, better, stronger!
The Processing Code Jam is an open (and free) creative coding workshop inspired by the Berlin Mini Game Jam. We choose a theme for the day and make teams or go solo to build a generative, interactive or otherwise code-based creations.
Bring your ideas, hardware, friends and some food to keep you going during this whole day of relaxed (but intense) computational creativity. The jam will be followed by a presentation of the projects.
Some previous experience with Processing is recommended but everyone is welcome! Really! Designers, artists, coders, writers, game-designers, musicians, everyone! And don't be put off by the “Processing” label; users of PureData, OpenFrameworks, Cinder, Touch Designer, and the others are also very welcome! Don't worry if you never came to an OTS event before, we'll make presentations and the teams will form around a project and by affinity.
There's only one rule: “If this is your first time at the Processing Code Jam, you have to code!”
Join us for a whole day of coding, interaction and fun! Following our first Processing session back in January, we are back with exciting news for all you creative coders! We are really happy to invite you to our first Processing Code Jam that will be kindly hosted by Betahaus next Saturday as part of Maker Weekend #2 (http://betahaus.de/event/maker-weekend-2/).
The focus of this Jam will be interaction and visuals so bring any material that you might need (midi-controllers, gamepads, Arduino, MaKey MaKey, iPad with touchOSC, sensors, camera, playdough, etc.)
Some previous experience with Processing (or Java) is recommended but everyone is welcome! Really! Designers, artists, coders, writers, game-designers, taxi-drivers, everyone! Don't worry if you never came to an OTS event before, we'll make presentations and the teams will form around a project and by affinity.
But wait, there's more! The results of the Jam will have the chance to be presented to a larger audience at the OPEN END PARTY that will be held in the evening. No pressure though, you will show your work only if you want to, but we think it'll make a perfect finale to this unique event!
Join and bring your friends!
This version of Processing only supports libraries and JAR files compiled for Java 1.6.It can happen on Lion if you upgraded to JDK 7 and will happen on Mountain Lion since it installs it by default.
A library used by this sketch was compiled for Java 1.7 or later,
and needs to be recompiled to be compatible with Java 1.6.
HOW TO PLAY 1) Press the MOVE button to arm the explosive 2) Press the TRIGGER to ignite the fuse 3) Pass the dynamite around 4) If someone passes you the dynamite, you have to take it! 5) Shake the dynamite to make it burn faster! 6) Any player touching the stick when it blows up is out 7) Press START for a brand new stick of TNT 8) The game goes on until one player (or none) remains. 9) The winner of the round gets to launch the new dynamite Or make your own rules! DISCLAIMER: The creators of Dynamite Juggle are not liable for an injury to, or death of, a player resulting from the inherent risk of using high explosive materials for recreational purpose.