つぶやきProcessing
This animation is a p5.js example sketch borrowed from an article on
つぶやきProcessing by Koma Tebe (You can read about it
here.)
I used it to learn more about
p5.js ,
web graphics, and つぶやき("tsubuyaki," the Japanese word for "tweet")
Processing. This is a movement founded by
@Hau_kun, who defines it as
"the art of creating visuals with
Processing
under the strict constraints of a single tweet."
In order to embed this graphical output of this p5.js sketch in an X tweet, I first reworked it so it
would run in the Processing IDE, exported it as an mp4, then converted mp4 to GIF with
ffmpeg,
using the command: ffmpeg -i xxxx.mp4 xxxx.gif.
Note that "createCanvas" and "let" are not keywords in Processing. You need to change
"createCanvas()" to "size()," and "let" to "float" (so that index "i" is declared as a float).