suminaga.js
january 2020
1 minute read
墨流JS

墨流JS

online marbling

Below is another version of suminagashi. It’s basically the same but written in javascript using p5.js.

  • move the mouse up and down to change the saturation
  • left click it to restart with a new color scheme
  • press b to enter black mode
  • press w to enter white mode
  • press n to go back to normal mode
  • press s to save a snapshot

It uses Shahriar Shahrabi’s procedural color algorithm to generate a new color scheme each time a new suminagashi gets floated out. I experienced severe performance issues on my Android phone which is why the script scales down some parameters if it detects a mobile device. Here’s the link to the source.


Feel free to use your suminagashis for whatever you want!