mirror of
https://github.com/seigler/generative
synced 2025-07-28 15:36:08 +00:00
🐣 Brunch P5 skeleton
This commit is contained in:
commit
3402feb22c
9 changed files with 7607 additions and 0 deletions
14
app/sketch.js
Normal file
14
app/sketch.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
new p5(sketch => {
|
||||
sketch.preload = () => {
|
||||
/* load images and music */
|
||||
}
|
||||
|
||||
sketch.setup = () => {
|
||||
sketch.createCanvas(640, 480);
|
||||
sketch.background('#fff');
|
||||
}
|
||||
|
||||
sketch.draw = () => {
|
||||
//
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue