You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gwen Pasquarello
6ac318bf7a
|
2 years ago | |
---|---|---|
sounds | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
index.html | 2 years ago | |
jsconfig.json | 2 years ago | |
main.js | 2 years ago | |
package-lock.json | 2 years ago | |
package.json | 2 years ago | |
style.css | 2 years ago |
README.md
sand-demo
a sandy demo for the emma project
Setup
git clone git@code.emma.coop:gwen/sand-demo.git
cd sand-demo
npm install
npm run dev
⚠ You may need to disable "safe writing" in your editor ⚠
I had to do this in vim (or in vimrc)
set backupcopy=yes
see https://parceljs.org/features/development/#safe-write
Lessons
- learned how to use Parcel (its by far the least annoying js bundler I've used thus far but its a bit quirky)
- learned a lot about JS Maps and how it's really hard to have a key be two numbers lol
- tone.js chokes with hundresd of simultaneous samples playing (i guess duh lol
- particle sims are really fun!!!!
If we build more
- we'll need a much more robust way ov managing particl interactions. the complexity can quickly enter n^2 edge cases if you are not careful
- this may be one of the rare times in my life i actually think i need OOP lol
- i never found a clear way to make this sound nice, but i think if i spent the time i could sound desing it
- one of us should almost certainly be dedicated to the sound desing / music part of this
- there is some kind of really wack interpolation or something going on that make the pixels color funny. I have yet to sort out why that is but i think it's in p5