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
a |
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
var fc = require('fc'); | |
var center = require('ctx-translate-center'); | |
var poly = require('ctx-render-polyline'); | |
var points = require('ctx-render-points'); | |
var bounds2 = require('2d-bounds'); | |
var gridlines = require('ctx-render-grid-lines'); | |
var isect = require('robust-segment-intersect'); | |
var createSDF = require('sdf-polygon-2d'); | |
var area = require('2d-polygon-area'); | |
var segseg = require('segseg'); |
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
var fc = require('fc'); | |
var hsv = require('hsv2rgb'); | |
var TAU = Math.PI*2; | |
var planets = [{ | |
center: [0, 0], | |
color: 'rgba(255, 0, 0, .2)', | |
stroke: 'rgba(255, 0, 0, 1)', | |
radius: 100, | |
rings: 5 |
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
var fc = require('fc'); | |
var vis = require('vishull2d'); | |
var TAU = Math.PI*2; | |
var center = [0, 0]; | |
var walls = [ | |
[[-10, -10], [10, -10]], | |
[[10, 100], [10, -10]], | |
[[10, 100], [-200, 100]], |
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
var input = [ | |
'$10.000,00', | |
'$10,000.00', | |
'$10,000.00 ', | |
'$10,,,000.00 ', | |
'$10,0,0,0.00 ', | |
'$10,000', | |
'$10,000', | |
'$10000', | |
'10000', |
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
var disolve = require('disolve'); | |
var expr = disolve.Expression; | |
var string = function(a) { | |
return Object.prototype.toString.call(a) === '[object String]'; | |
}; | |
function ineq(exp, op, constant) { | |
if (!(this instanceof ineq)) { return new ineq(exp, op, constant) } | |
This file has been truncated, but you can view the full file.
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
<kicad_pcb | |
<version | |
4 | |
</version> | |
<host | |
pcbnew | |
(2014-10-11 BZR 5175)-product | |
</host> | |
<general |
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
var createContext = require('fc'); | |
var extractMesh = require('isosurface').surfaceNets; | |
var createCamera = require('orbit-camera'); | |
var createShader = require('simple-3d-shader'); | |
var createMesh = require('gl-mesh'); | |
var createNormals = require('normals').vertexNormals; | |
var vec3 = require('gl-vec3'); | |
var mat4 = require('gl-mat4'); |
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
var createContext = require('fc'); | |
var extractMesh = require('isosurface').surfaceNets; | |
var createVAO = require('gl-vao'); | |
var createCamera = require('orbit-camera'); | |
var createShader = require('simple-3d-shader'); | |
var createMesh = require('gl-mesh'); | |
var createNormals = require('normals').vertexNormals; | |
var bunny = require('bunny'); |
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
var ndarray = require('ndarray'); | |
var fill = require('ndarray'); | |
var w = 1920, h=1200, d=4; | |
var a = ndarray(new Float32Array(w*h*d), [w, h, d]); | |
var start = Date.now(); | |
fill(a, function(x, y, z) { |