Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scrimba.com interactive DOM recording algorithm

I have recently taken a few courses on Scrimba and I am totally in love with the platform. Can anyone tell me how is this interactive DOM working? How is it being recorded? What's the algorithm to achieve this?


1 Answers

It's the secret sauce, but the long and short of it is the events DOM recording.

The basic idea behind Scrimba is that we record events instead of pixels. So what you're seeing when you're watching a Scrimba screencast is simply a re-creation of what the creator did when creating the screencast (which is done in-browser).

We record every click, mouse event, key event, etc, and then replay it.

Source: i'm a team member and here's Per talking about it https://news.ycombinator.com/item?id=14299979

like image 179
alanmynah Avatar answered May 25 '26 12:05

alanmynah



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!