a sandy demo for the emma project
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 deployment junk 2 years ago
sounds sand and fire ^.^ 2 years ago
.gitignore Initial commit 2 years ago
README.md add notes 2 years ago
index.html deployment junk 2 years ago
jsconfig.json v1, way to slow 2 years ago
main.js deployment junk 2 years ago
package-lock.json sand and fire ^.^ 2 years ago
package.json deployment junk 2 years ago
style.css sand and fire ^.^ 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