The following experiments shows how you might deal with buffers and the possibility to simulate liquid behaviour. plain p5.js and …