Re:Show HN: Neural Network Visualizer Classifying Handwritin...
by CSenn on Tuesday May 17, 2016 @02:40PM
(#11716147)
Hmm, that sounds like a promising idea...
Re:Show HN: Neural Network Visualizer Classifying Handwritin...
by nsthorat on Tuesday May 17, 2016 @04:51PM
(#11717296)
For the most part you're not doing live animations, statically drawing on a 3 canvases would give you what you want (without huge overhead of DOM nodes and simplicity of 2D canvas painting). Web workers aren't going to do much since most of your lag is coming from way too much DOM (causing layout, repaints to take forever).
Edit: So it's the rendering that's hard on the CPU. Canvas would probably improve performance. Also, the graphic is so simple and there doesn't seem to be any event listeners on the edges themselves, that converting should be trivial :)