-
Requirebin: Test for gl_FragCoord
-
Requirebin: Manual in-shader Clamp/Repeat/Mirror tests
This file contains 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
import random | |
def pathological_generator(Nbits,n,certify): | |
if n == 0: | |
assert not certify | |
return (None,[]) |
This file contains 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
var nunjucks = require('nunjucks'); | |
nunjucks.configure('.'); | |
nunjucks.render('test.html'); |
This file contains 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
const regl = require('regl')(); | |
const quad = require('glsl-quad'); | |
const vert = ` | |
precision highp float; |
This file contains 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
const quad = require('glsl-quad'); | |
const regl = require('regl')(); | |
let frag = ` | |
THIS IS AN OBVIOUSLY BAD SHADER. | |
IT SHOULD THROW AN ERROR. | |
BUT REGL ONLY THROWS AN ERROR IN DEBUG MODE. | |
This file contains 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
const quad = require('glsl-quad'); | |
const $ = require('jquery-browserify'); | |
const ms = require('microseconds'); | |
const regl = require('regl')({}); | |
let frag = ` | |
precision float highp; |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
const clone = require('clone'); | |
let wat = { | |
5: 50, | |
'wat': 500, | |
10: {20: 30, 50: 1}, | |
11: {20: 30, 50: {1: 2, 3:4}} | |
}; |
This file contains 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
const regl = require('regl')(); | |
const resl = require('resl'); | |
const quad = require('glsl-quad'); | |
const createKDTree = require('static-kdtree'); | |
let c = 16; | |
let url = 'https://github.com/youtube/api-samples/raw/master/java/src/main/resources/sample-video.mp4' |
This file contains 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
let c = {b}; // press enter here at the end of the line | |