As the name says: this is a sketchbook for p5js and Processing and other HTML/CSS/JS-based sketches.
This is a simple script, that generates a new sketch, opens an editor and starts a development server in the directory of the sketch. To make it work, you need to have set a variable "myEditor" in your current shell with the name of your preferred editor as its content. So one line of your bashrc might look like this:
export myEditor="vim"
A quick look at it will tell you that it expects the Python interpreter to be at /usr/bin/python, like it is on most Linux versions (and maybe also on Mac OS, I guess).
The script will ask you, what type of sketch you want to start and you have to answer with one of the given options.
While I started reading "Complexity. A Guided Tour" by Melanie Mitchell (2009), I though it might be nice to code some of the examples. I imagine, some might be web based visualizations, some not.
They are here. Online examples will be available here.
-
2017092902: 10PRINT with changing colors
-
2017092901: 10PRINT after following the coding train
-
2017050301: Ikeda attractor
-
2017050202: Moving pattern variation - interaction via mouse position
-
2017050201: Moving pattern based on islamic decorative art as shown in the first week of the FL-course Creative Coding by the Monash University.
-
2017042401: Better timing through waiting
-
2017041402: Playing sequences with setInterval
-
2017041401: First sketch of the third week, loading and playing a sound in webaudio
-
2017040503: First sketch with tilt sensor from the course.
-
2017040502: Plugged the previous sketch onto an object literal of oscillators.
-
2017040501: Hooked up the keyboard with notes and two sliders with LFO and LFOs gain.
-
2017040301: First Sketch from the second week of the futurelearn course.
-
2017033005: Submission for the first week of the course.
-
2017033004: A full synth. Danger: noise possible!
-
2017033003: Again combining previous concepts into one sketch
-
2017033002: Additive Oscillators from the course
-
2017033001: Combined the previous two: Keyboard instrument with mouse controlled modulation
-
2017032904: Slight variatin on the example code for modulating an oscillator with an oscillator.
-
2017032903: Imitating a piano ... sort of.
-
2017032902: Sound controlled by keyboard
-
2017032901: Mouse controlled oscillator from futurelearn course Learn to Code Electronic Music Tools with Javascript