r/p5js • • 8h ago Mindblown

Neural Canvas. CNN Visualization with p5.js

19 Upvotes

Neural Canvas. CNN Visualization with p5.js

Used p5.js to build a neural network visualizer where you can see neurons and convolutional feature maps in real time.

The model was trained in Python using JAX. I exported the parameters to JavaScript using JSON, used Math.js for feedforward computations, and p5.js for visualization.

GitHub: https://github.com/MuhammadEssa2002/neural_canvas

Live demo: https://muhammadessa2002.github.io/neural_canvas/