Skip to content

Instantly share code, notes, and snippets.


Damon Oehlman DamonOehlman

View GitHub Profile
View offset-minkowski-surface-nets.js
var Polygon = require('polygon');
var fc = require('fc');
var Vec2 = require('vec2');
var ndarray = require('ndarray');
var sn = require('surface-nets');
var cwise = require('cwise');
var fill = require('ndarray-fill');
var poly = new Polygon([
View index.js
var media = require('rtc-media')
var fakevid = require('rtc-canvas')
var canvas = fakevid(document.body)
var whammy = require('whammy')
var QUALITY = 1
var WIDTH = 640
var HEIGHT = 480
DamonOehlman / gist:3840144
Created Oct 5, 2012 — forked from schacon/gist:1
the meaning of gist
View gist:3840144
This is gist.
There are many like it, but this one is mine.
It is my life.
I must master it as I must master my life.
Without me gist is useless.
Without gist, I am useless.

isometric drawing experiment with three.js

click the shape to enable/disable animation

source code here

View index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>API Builder</title>
<style type="text/css">
path, circle {
stroke: black;