HTML canvas animated Fireflies
-
Updated
Jun 9, 2021 - JavaScript
HTML canvas animated Fireflies
My first piece of work. Using HTML5 canvas, I render a number of glowing dots, each illustrates a basic agent model, which carries out different behaviours depends on the interactions made from your mouse. For instance, a click creates a spark which cause the fireflies to flee, holding on generates a fire which attracts them, and any fast moveme…
P5.JS Website
Add a description, image, and links to the fireflies topic page so that developers can more easily learn about it.
To associate your repository with the fireflies topic, visit your repo's landing page and select "manage topics."