adm78 / visualchemeng-js

JavaScript modules for visualchemeng.com
http://visualchemeng.com/
MIT License
13 stars 3 forks source link

App should have an 'Information' mode #41

Open adm78 opened 5 years ago

adm78 commented 5 years ago

Information mode should explain the physics behind the system being simulated, plus how it is solved from a numerical perspective.

It's not quite clear what's the best way to delivery this information, so we should probably create a testing branch for it.

adm78 commented 5 years ago

It should be possible to use p5.js dom library to hide the canvas and show our info content in it's place. Basically we would: 1.) pause the simulation 2.) hide the canvas 3.) show some html content in its place 4.) listen to clicks on this (i.e. add a next slide UI element, allowing us to have something like a powerpoint) 5.) reverse the process when info mode is disabled.

See the p5.dom. reference here