Last active
May 14, 2025 04:14
-
-
Save munrocket/d4fc18abfb9c98f0cfce6eda772dcb45 to your computer and use it in GitHub Desktop.
Revisions
-
munrocket revised this gist
Oct 22, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -3,8 +3,8 @@ function shader_exporter(duration, width, heigth, paused) { document.getElementById('demogl').style.width = width + 'px'; document.getElementById('demogl').style.height = heigth + 'px'; document.getElementById('myResetButton').click(); document.getElementById('myRecord').click(); if (paused) document.getElementById('myPauseButton').click(); let t0 = performance.now(); function loop(){ if (performance.now() - t0 > duration * 1000) { -
munrocket revised this gist
Oct 22, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -9,6 +9,7 @@ function shader_exporter(duration, width, heigth, paused) { function loop(){ if (performance.now() - t0 > duration * 1000) { document.getElementById('myRecord').click(); if (paused) document.getElementById('myPauseButton').click(); } else { requestAnimFrame(loop) } -
munrocket revised this gist
Oct 22, 2021 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ // copy paste this in console function shader_exporter(duration, width, heigth, paused) { document.getElementById('demogl').style.width = width + 'px'; document.getElementById('demogl').style.height = heigth + 'px'; document.getElementById('myResetButton').click(); if (paused) document.getElementById('myPauseButton').click(); document.getElementById('myRecord').click(); let t0 = performance.now(); function loop(){ @@ -15,4 +15,4 @@ function shader_exporter(duration, width, heigth) { }; requestAnimFrame(loop); } shader_exporter(6.28318530, 512, 512, false); -
munrocket revised this gist
Oct 14, 2021 . 1 changed file with 17 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,18 @@ // copy paste this in console function shader_exporter(duration, width, heigth) { document.getElementById('demogl').style.width = width + 'px'; document.getElementById('demogl').style.height = heigth + 'px'; document.getElementById('myResetButton').click(); document.getElementById('myPauseButton').click(); document.getElementById('myRecord').click(); let t0 = performance.now(); function loop(){ if (performance.now() - t0 > duration * 1000) { document.getElementById('myRecord').click(); } else { requestAnimFrame(loop) } }; requestAnimFrame(loop); } shader_exporter(6.28318530, 512, 512); -
munrocket renamed this gist
Oct 14, 2021 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
munrocket revised this gist
Oct 14, 2021 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,11 @@ // copy paste this in console let myTime = 6.28318530; document.getElementById('demogl').style.width = '512px'; document.getElementById('demogl').style.height = '512px'; document.getElementById('myResetButton').click(); document.getElementById('myPauseButton').click(); document.getElementById('myRecord').click(); let t0 = performance.now(); function loop(){ if (performance.now() - t0 > myTime * 1000) { document.getElementById('myRecord').click(); -
munrocket revised this gist
Jun 13, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ // copy paste this in console let myTime = 6.28318530; let t0 = performance.now(); document.getElementById('myResetButton').click(); document.getElementById('myPauseButton').click(); document.getElementById('myRecord').click(); function loop(){ -
munrocket revised this gist
Jun 13, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,7 @@ // copy paste this in console let myTime = 6.28318530; let t0 = performance.now(); document.getElementById('myPauseButton').click(); document.getElementById('myRecord').click(); function loop(){ if (performance.now() - t0 > myTime * 1000) { -
munrocket revised this gist
Jun 13, 2021 . 1 changed file with 12 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1 +1,12 @@ // copy paste this in console let myTime = 6.28318530; let t0 = performance.now(); document.getElementById('myRecord').click(); function loop(){ if (performance.now() - t0 > myTime * 1000) { document.getElementById('myRecord').click(); } else { requestAnimFrame(loop) } }; requestAnimFrame(loop); -
munrocket created this gist
Jun 13, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1 @@ let myTime = 6.28318530; let t0 = performance.now(); document.getElementById('myRecord').click(); function loop(){if (performance.now() - t0 > myTime * 1000) { document.getElementById('myRecord').click();} else { requestAnimFrame(loop)}}; requestAnimFrame(loop);