r/deeplearning • • 1d ago

I built a lightweight interactive demo to step through convolution and pooling on your own images

When first trying to build intuition for convolutional neural networks beyond static textbook diagrams, tweaking a $3 \times 3$ kernel or adjusting stride on an actual photo to watch which pixel values survive pooling felt way harder than it needed to be. Most tutorials required spinning up a full Python environment or Jupyter notebook just to experiment with simple filter weights and see how edge detection or blurring behaves step by step.

To make that feedback loop instant, I put together a small static web page where you can upload any image, adjust kernel size, stride, and padding, toggle between max and average pooling, and inspect both the resulting feature map and the raw tensor numbers updating live in real time. There is nothing to install, no GPU dependency, and it runs smoothly right in a mobile browser.

The whole thing is just a few hundred lines of vanilla JavaScript and HTML5 Canvas, so the source is easy to inspect, tweak, or fork if you want to add custom filters or activation functions. Link is in the comments for anyone who wants to play around with it.

What small visual tools or interactive sandboxes helped a neural network layer finally click for you the first time? Curious which concepts—like backprop, attention heads, or receptive fields—became much easier once you could actually watch the numbers move.

1 Upvotes

0 comments sorted by