The following experiments shows how you might deal with buffers and the possibility to simulate liquid behaviour. plain p5.js and some basic glsl shader code liquid paining with the Shadertoy environmentGLSLJAVASCRIPT
sketch.js This comes as helpful library to manage the gamepad events in p5.js says Leonard. gamepad.js ESP Code sourced by: https://github.com/asukiaaa/MPU9250_asukiaaa/blob/master/examples/GetMagOffset/GetMagOffset.ino DO not forget to install the inherited lib from asukiaaa > MPU9250_asukiaaa > props …ELECTRONICSJAVASCRIPT
drawing the magic frog in WEBGL We can use images like we use brushes to paint a picture. This works for the p5.js WEBGL mode too. So we have three dimensions to play with. Do …JAVASCRIPT
Make MIDI Keyboard of your Arduino Arduino Code to make a full MIDI Keyboard out of the controller 🙂 – This needs the „MIDIUSB“ Library installed! Code for p5.js to visualize midi input THIS ONLY …ARDUINOJAVASCRIPTSOUND
Arduino Leonardo and equivalents can emulate a simple keyboard out of the box. We use this simple approach to send stepped keycode values to the browser. Those key values are used to drive some example …ARDUINOJAVASCRIPT
This example shows how to construct a p5.js application to run an object oriented approach, using independent particles to draw the stage canvas buffer. Here is a link to an online demo. Main LoopJAVASCRIPTSOUND
This time live coding a pretty basic webbased, keyboard controlled synthesizer with p5.js and tone.js. Introducting return functions and hackey key mapping systems.JAVASCRIPTSOUND
Gamepad Code for ESP32 Javascript Code / p5.js This code needs to be put in a new js file called: „gamepad_basic.js“ and works as a kind of nice library to keep the code clean 🙂 …ESP32JAVASCRIPT
In dieser Episode entwickeln wir audiosensitive Punktzeichungen. Es geht um Perlin Noise, Farbspektren und allerlei Metamap Magic 🙂 Online Demo: https://editor.p5js.org/simon_oakey/sketches/p0VTI4iH6 Musik von Edoy > https://freemusicarchive.org/music/Edoy/progression Code main script Hier ein zweites .js Skript mit …JAVASCRIPTSOUND
This code grabs the integrated gamepad API of your browser to use in context of P5. The connection is down through the integrated BLE interface of the ESP32.ESP32JAVASCRIPT