UNPKG

gl-viewport

Version:

toggle between orthographic and perspective projection camera views

9 lines (7 loc) 203 B
var http = require('http'); var ecstatic = require('ecstatic'); var st = ecstatic(__dirname + '/static'); var server = http.createServer(function (req, res) { st(req, res); }); server.listen(8000);