https://thecodingtrain.com/tracks/code-programming-with-p5-js/code/7-arrays/3-arrays-objects

Here is the reference of How to use Array-Class-For loop to build editable shape.

Set a Class, let array equal new class, use for loop execute the function in class.

For (cat of array)

{

cat.function();

}

Array can store the class in it

Execute every element in array named cat

control + command + space —— emoji portal

这个 ml5 视频系列用于鼻子检测;

https://thecodingtrain.com/tracks/ml5js-beginners-guide/ml5/7-bodypose/pose-detection​​

鼻子检测草图:

https://editor.p5js.org/codingtrain/sketches/AWrwZ_rSv​

tiny test of basket hold the emoji (controlled by mouse)

录屏2024-10-17 下午11.21.45.mov