Learn creative coding writing simple programs
128. Fun with filters part II: animated blobs
In this second video about filter() we discover an interesting effect we can achieve by applying filter(BLUR) followed by filter(THRESHOLD).
If we do that in a draw() loop we can obtain animated blobs, which are of course essential for architects and nurses.
Code editor
You can make changes to the code below. Then
Reference
background
char
draw
else
fill
filter
if
int
keyPressed
mousePressed
mouseX
mouseY
random
setup
size
stroke
text
textSize
void
background
char
draw
else
fill
filter
if
int
keyPressed
mousePressed
mouseX
mouseY
random
setup
size
stroke
text
textSize
void
Try to stay close to the topic of this episode. Use the Processing forums for help with unrelated Processing projects (or hire me for help ;-)
To indicate that a word in your comment is code, use the `backtick`. Example
Do `float` and `int` smell similar?
To highlight code blocks, surround it with ``` code-fences ``` like this:``` void setup() { size(600, 600); } ```