For WebGL and Canvas2D.
- Make change
./build.py
to regenerateout/*
- Reload the extension
- Test
- URL: about:debugging
- In the sidebar under "Setup" select "This Nightly" (or similar)
- Under "Temporary Extensions", hit "Load Temporary Add-on..."
- Select file "canvas-rr/web-ext/manifest.json"
- You should see a new "Temporary Extension" entry for "canvas-rr" (including Reload and Remove buttons)
- URL: chrome://extensions/
- At the top-right, enable "Developer mode"
- Near the top-left, hit "Load unpacked"
- Select folder "canvas-rr/web-ext"
- You should see a new extension tile for "canvas-rr" (including reload icon and Remove button)
- (Re)load the temporary extension (see above)
- (Re)load the page you want to record
- Open the Browser's Web Console (F12)
- Let it record via AUTO_RECORD_FRAMES 4a. You can also use LogCanvas.record_frames(n) or LogCanvas.record_next_frames(n), but starting recordings in the middle of execution does not work yet
- LogCanvas.download() to save the recording as
.json
. (you don't have to wait for all the frames to finish recording) Note: Recordings are often tens to hundreds of megabytes
Replay: Using player.html
- Load player.html
- Choose a json to load
- Hit "Play"