Skip to content

Instantly share code, notes, and snippets.

View litenjacob's full-sized avatar

Jacob Waller litenjacob

View GitHub Profile
@litenjacob
litenjacob / test.json
Created November 25, 2014 08:42
test
{"a":1}
@litenjacob
litenjacob / index.js
Last active August 29, 2015 14:06
requirebin sketch
// example using the raf module from npm. try changing some values!
var requestAnimationFrame = require("raf")
var canvas = document.createElement("canvas")
canvas.width = 500
canvas.height = 500
document.body.appendChild(canvas)
var context = canvas.getContext("2d")
<!DOCTYPE html>
<html manifest="txtv.manifest">
<head>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="viewport" content="width=320, user-scalable=no" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>txtv</title>
<link rel="apple-touch-icon" href="pics/apple-touch-icon.png" />
<link href="css/txtv.css" rel="stylesheet" type="text/css" />
<link href="css/svt.css" rel="stylesheet" type="text/css" />