Aalto-LeTech / jsav-exercise-recorder

Records students' solutions to JSAV-based visual algorithm simulation exercises
0 stars 2 forks source link

Compact SVGs #43

Open Meratyn opened 2 years ago

Meratyn commented 2 years ago

Compact the SVGs by only recording the changes after the initial state.

atilante commented 2 years ago

The naive solution is iterate through the jsavcanvas DOM every time the Recorder should record a step. The better way, maybe: browser DOM change events.