[ Launch: blobular BADGE ] 9982702 by georules[ Launch: blobular BADGE ] 9680733 by enjalot
[ Launch: sin waves ] 9997390 by georules See Previous Inlet [ Gist ]
[ Launch: color scales ] 11104369 by georules[ Launch: color scales ] 11056769 by procoder-net See Previous Inlet [ Gist ]
[ Launch: unit circle ] 11104408 by georules[ Launch: unit circle ] 6862954 by enjalot[ Launch: unit circle ] 6723094 by enjalot[ Launch: unit circle ] 6722845 by enjalot[ Launch: unit circle ] 5211082 by ptvans[ Launch: unit circle ] 5210686 by enjalot
[ Launch: unit waves ] 11104436 by georules[ Launch: unit circle ] 6723241 by enjalot[ Launch: unit circle ] 6723094 by enjalot[ Launch: unit circle ] 6722845 by enjalot[ Launch: unit circle ] 5211082 by ptvans[ Launch: unit circle ] 5210686 by enjalot
[ Launch: Tributary inlet ] 8c935d056af187e00c65 by georules
// 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") |
// 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") |
// 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") |
var inherits = require('inherits'); | |
var Game = require('crtrdg-gameloop'); | |
var Entity = require('crtrdg-entity'); | |
var Keyboard = require('crtrdg-keyboard'); | |
inherits(Player, Entity); | |
function Player(options){ | |
this.position = { | |
x: options.position.x, |