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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_PointSize = 1.0; | |
| gl_Position = vec4(0., 0., 0., 1.); // Failed on windows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(-1., -1., 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(0.5, 0.5, 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_Position = vec4(-0.5, -0.5, 0., 1.); | |
| // gl_Position = vec4(-1., -1., 0., 1.); | |
| // gl_Position = vec4(1.0, 1.0, 0., 1.); | |
| vColor = vec4(1, 1, 1, vertexID/255.0); |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_Position = vec4(0., 0., 0., 1.); // Failed on windows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(-1., -1., 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(0.5, 0.5, 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| vColor = vec4(1, 1, 1, vertexID); |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_Position = vec4(0., 0., 0., 1.); // Failed on windows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(-1., -1., 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(0.5, 0.5, 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| vColor = vec4(2., 22., 222., vertexID); |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_Position = vec4(0., 0., 0., 1.); | |
| // gl_Position = vec4(-1., -1., 0., 1.); | |
| // gl_Position = vec4(1., 1., 0., 1.); | |
| vColor = vec4(vertexID, 0., 0., 1.); |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute float vertexID; | |
| varying vec4 vColor; | |
| void main(void) { | |
| gl_Position = vec4(0., 0., 0., 1.); // Failed on windows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(-1., -1., 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| // gl_Position = vec4(0.5, 0.5, 0., 1.); // Failed on widnows chrome/firefox, passed on firefox with disable-angle | |
| vColor = vec4(vertexID, 0., 0., 1.); |
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 characters
| <!DOCTYPE html> | |
| <html> | |
| <script type="vertex" id="vs"> | |
| attribute vec2 positions; | |
| void main(void) { | |
| gl_Position = vec4(positions, 0., 1.); | |
| } | |
| </script> | |
| <script type="fragment" id="fs"> | |
| precision highp float; |
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 characters
| /* Node.js v10+ */ | |
| const puppeteer = require('puppeteer'); | |
| const URL = 'https://bl.ocks.org/1chandu/37743a37df149d0439cd91246884f92d'; | |
| puppeteer.launch({headless: true}) | |
| .then(async function(browser) { | |
| const page = await browser.newPage(); | |
| page.on('console', event => { |