{"_id":"gesso","_rev":"27-063c7e07e8be754be420af37b7b60bee","name":"gesso","description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","dist-tags":{"latest":"0.13.0"},"versions":{"0.0.1":{"name":"gesso","author":{"name":"Joe Esposito","email":"joeyespo@gmail.com","url":"http://joeyespo.com"},"description":"","keywords":["bundle","canvas","gesso"],"version":"0.0.1","main":"./gesso","dependencies":{"coffee-script":"","express":"","mustache":"","stitch":"","detective":""},"_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"_id":"gesso@0.0.1","devDependencies":{},"optionalDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.1.24","_nodeVersion":"v0.6.19","_defaultsLoaded":true,"dist":{"shasum":"86e62bb3f5d983b1e8818fd0013c11f622bba182","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.0.1.tgz","integrity":"sha512-cY0mOSCMoQ28X6yb6NT7AEK3rEEMvl6hNQD0tWob15IAO5rDC4XHKnNt/QId5nigZYc7YJkC8YMYwcZpZaoZlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF5SdTiKtMPI3BlqMhGpM9rDqf4HwROgNKn10ZgIEsDgAiEAn4xvfnNXf/oofu9h7LvS3ZqoGm1ciNqNaIbDUPIB1BQ="}]},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}]},"0.8.0":{"name":"gesso","version":"0.8.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"ISC","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"http://github.com/joeyespo/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"chalk":"^0.5.1","chokidar":"^0.8.4","docopt":"^0.4.0","esprima":"^1.2.2","express":"^4.4.5","liftoff":"^0.12.0","nunjucks":"^1.0.5","tildify":"^0.2.0","webmake":"^0.3.36"},"bugs":{"url":"https://github.com/joeyespo/gessojs/issues"},"_id":"gesso@0.8.0","_shasum":"1067069f4c0833290d2a61cf60de12b2ea925b35","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"1067069f4c0833290d2a61cf60de12b2ea925b35","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.8.0.tgz","integrity":"sha512-bIgRgj1HmDeSzvhPLQbzkPCpG2pdjJjnmnwZJECxVVjtaw2EqBeHesf7v/O0GaLpttck/v1C1DgKelpfqWP7KA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCvM3uXIn3vy8t0x4mnGgp37/gbNug5/vuKNBomaYzaJgIgFLQmkAa8DrE5zhO7efZGSvF000zeceLscblyuPK3gyU="}]}},"0.8.1":{"name":"gesso","version":"0.8.1","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"ISC","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/joeyespo/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"chalk":"^0.5.1","chokidar":"^0.8.4","docopt":"^0.4.0","esprima":"^1.2.2","express":"^4.4.5","liftoff":"^0.12.0","nunjucks":"^1.0.5","tildify":"^0.2.0","webmake":"^0.3.36"},"bugs":{"url":"https://github.com/joeyespo/gessojs/issues"},"_id":"gesso@0.8.1","_shasum":"cda6e5e0858e60a3e1afb29d8e56972017e3eddb","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"cda6e5e0858e60a3e1afb29d8e56972017e3eddb","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.8.1.tgz","integrity":"sha512-KnuACihrOGNPPIVbYcxpG9WeDsunjF3L781c17VuVJA8z7oki0g8vF/Y1QkDomX36g9holPxBrdKj42WBi9iPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICHSSmwpD9MaUwLvcL0hwtBbaK9spEjzhYCfOSEcUxuwAiBOG0ee1Bb2PbsyyFdQEud120r7S04ODjoKYAeAuA62Ig=="}]}},"0.8.4":{"name":"gesso","version":"0.8.4","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"ISC","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/joeyespo/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"chalk":"^0.5.1","chokidar":"^0.8.4","docopt":"^0.4.0","esprima":"^1.2.2","express":"^4.4.5","liftoff":"^0.12.0","nunjucks":"^1.0.5","tildify":"^0.2.0","webmake":"^0.3.36"},"bugs":{"url":"https://github.com/joeyespo/gessojs/issues"},"_id":"gesso@0.8.4","_shasum":"12c3d516d28c338d6210991fe2f0f04273c0450b","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"12c3d516d28c338d6210991fe2f0f04273c0450b","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.8.4.tgz","integrity":"sha512-dlP+DfMiWj35m1E6BFuJbW0LR8Zk4zvyYCExGwWd4uq4szRZZROjKWlTxRsViVLNefB8yNRjVDzRoCZL4F3DzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCS1pGZYfz5EYdvJ0FOftQOJRTEiXlYnjne3Cr/szjGWQIhAJCywIh9yW4ATxXRce1y3ZTt4rKq+ZWw+qEipM61w7zm"}]}},"0.9.0":{"name":"gesso","version":"0.9.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.11.0","chalk":"^0.5.1","chokidar":"^0.8.4","docopt":"^0.4.0","esprima":"^1.2.2","express":"^4.4.5","liftoff":"^0.12.0","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.0.5","tildify":"^0.2.0","webmake":"^0.3.36"},"devDependencies":{"mocha":"^2.0.0"},"gitHead":"85a3c33660ded74fdb7afeaa203a79042c6f5496","bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.9.0","_shasum":"9d4bd7fa86bd3b08e6da8aa29863040de163873a","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"9d4bd7fa86bd3b08e6da8aa29863040de163873a","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.9.0.tgz","integrity":"sha512-NOkp/wpf4RlKRfxxkThRIWtjokLiMW54L0WsVZ4+CZQJB9HCwgYdzRNbtss6gFKW5dBwzflF1dSoe08OdIUl7A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC6Y5+icgnGB96aclU6fe3tpp+wLTSdH4O8sOUssE8/qAiEAm2doqRBfeYZfGNKCwVPlUKGxQSKh6llXl4zN/Ba8sTk="}]}},"0.10.0":{"name":"gesso","version":"0.10.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.12.0","bower":"^1.3.12","browserify":"^9.0.3","chalk":"^1.0.0","chokidar":"^1.0.0-rc3","docopt":"^0.4.1","esprima":"^2.0.0","express":"^4.12.0","liftoff":"^2.0.1","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.2.0","through":"^2.3.6","tildify":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.10.0","_shasum":"9d76f1bff248900806136142a69b3558b72b2844","_resolved":"https://github.com/gessojs/gessojs/archive/v0.10.0.tar.gz","_from":"https://github.com/gessojs/gessojs/archive/v0.10.0.tar.gz","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"9d76f1bff248900806136142a69b3558b72b2844","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.10.0.tgz","integrity":"sha512-iUXDotENNlc2AhpYJnFE8raTnEcAgMuO8fDTBnV6uDQtrWQf98kQiM1Z4Fxuc1CadqADU0ye7bJDB20p8McYYQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICTZH9VmgF9BJSsv6+SdVUKype/EuQJeAOdqE6hdo15kAiAXCvfJYy0JUM90p9weuzy/B6ZxYFEvQFPUx/UFU6F31A=="}]}},"0.10.1":{"name":"gesso","version":"0.10.1","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.12.0","bower":"^1.3.12","browserify":"^9.0.3","chalk":"^1.0.0","chokidar":"^1.0.0-rc3","docopt":"^0.4.1","esprima":"^2.0.0","express":"^4.12.0","liftoff":"^2.0.1","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.2.0","through":"^2.3.6","tildify":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.10.1","_shasum":"ba58cb951bdfb5887396dc489c97d0a6ccbf11a5","_resolved":"https://github.com/gessojs/gessojs/archive/v0.10.1.tar.gz","_from":"https://github.com/gessojs/gessojs/archive/v0.10.1.tar.gz","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"ba58cb951bdfb5887396dc489c97d0a6ccbf11a5","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.10.1.tgz","integrity":"sha512-rN8BYoQz67t7GHOtqyyxEdW1grq4Wge+jvvCwc+tEaKMHDg06lX3OgKXnbxDOPYHYY60AKRIK5rlb6mTXv/n5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHt+fJO8ZFKAZJ5Zn0kfw1KVeTdL4cmVjsEucT26DixtAiEA4uPeeoA0PyqGsUd20827YvwYrIWxQr93tQnyT90cHy8="}]}},"0.11.0":{"name":"gesso","version":"0.11.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha","postinstall":"bower install"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.12.0","bower":"^1.3.12","browserify":"^9.0.3","chalk":"^1.0.0","chokidar":"^1.0.0-rc3","docopt":"^0.4.1","esprima":"^2.0.0","express":"^4.12.0","liftoff":"^2.0.1","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.2.0","through":"^2.3.6","tildify":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.11.0","_shasum":"f1973211fc4112daafa84d55f0252be4a1178f17","_resolved":"https://github.com/gessojs/gessojs/archive/v0.11.0.tar.gz","_from":"https://github.com/gessojs/gessojs/archive/v0.11.0.tar.gz","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"f1973211fc4112daafa84d55f0252be4a1178f17","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.11.0.tgz","integrity":"sha512-msa7liyGr8gdB8TY2/NG7BfujOQAYYgqOx70F0pVFo58SH6WsYpC2645PeQ7nUWLT7zpEBFeN//fW5FHZxhLJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+vDdwJArflCrgr3eOJFTGzK7vaFAQ+0MAgpFmau4N0AIgHGAeFl0IcrSJ9Fjy/mSSNcIL7BJCwuYCEaryEU2QDJo="}]}},"0.12.0":{"name":"gesso","version":"0.12.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.12.0","bower":"^1.3.12","browserify":"^9.0.3","chalk":"^1.0.0","chokidar":"^1.0.0-rc3","docopt":"^0.4.1","esprima":"^2.0.0","express":"^4.12.0","fs-extra":"^0.24.0","liftoff":"^2.0.1","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.2.0","through":"^2.3.6","tildify":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.12.0","_shasum":"f5d556bac45a3cf461f3f2dfa5815c24e6b8e343","_resolved":"https://github.com/gessojs/gessojs/archive/v0.12.0.tar.gz","_from":"https://github.com/gessojs/gessojs/archive/v0.12.0.tar.gz","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"f5d556bac45a3cf461f3f2dfa5815c24e6b8e343","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.12.0.tgz","integrity":"sha512-Sg7aHNbmTxuSJn6TWxD+a8xKE5MdSd/RaePQByvCFmLpDP/ncUU2esvhPUtp/7VU7ndxS6+0hRkwTP26qFzBrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZiFv5EC8kZW5RE++TqXmjI5V0F0quAs1zbwDWSjXHiAiBUbSqPxt9hsrD4z5pGw8vGk3xNDG2buPCbIrT5xmfCqA=="}]}},"0.13.0":{"name":"gesso","version":"0.13.0","author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"description":"Gesso builds packages that interact with HTML canvases. Use the power of npm, a built-in server for testing and demoing, all without writing any HTML. To deploy, simply load the resulting JS file on a page containing a canvas.","homepage":"http://gessojs.com","license":"MIT","bin":{"gesso":"bin/gesso.js"},"main":"index.js","scripts":{"test":"mocha"},"repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"engines":{"node":">= 0.10.0"},"dependencies":{"body-parser":"^1.12.0","browserify":"^9.0.3","chalk":"^1.0.0","chokidar":"^1.0.0-rc3","docopt":"^0.4.1","esprima":"^2.0.0","express":"^4.12.0","fs-extra":"^0.24.0","liftoff":"^2.0.1","moment":"^2.9.0","morgan":"^1.5.1","nunjucks":"^1.2.0","through":"^2.3.6","tildify":"^1.0.0"},"devDependencies":{"mocha":"^2.1.0"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"_id":"gesso@0.13.0","_shasum":"111f7edbceb6d2822a5b743162a25ed209e19480","_resolved":"https://github.com/gessojs/gessojs/archive/v0.13.0.tar.gz","_from":"https://github.com/gessojs/gessojs/archive/v0.13.0.tar.gz","_npmVersion":"2.7.0","_nodeVersion":"5.2.0","_npmUser":{"name":"joeyespo","email":"joeyespo@gmail.com"},"maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"dist":{"shasum":"111f7edbceb6d2822a5b743162a25ed209e19480","tarball":"https://registry.npmjs.org/gesso/-/gesso-0.13.0.tgz","integrity":"sha512-pGiJhF8GJ0XPCSWSvPjBbnxLyAx9UbL0vRy+mIs0urOOAOJsXHXYM18dJIJHwSNPJdbJXx+OaTF1IKE1bIxKwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCk4wHQr1LDIpZ8lmNrSbswv+chmbnHRuKyDefvQiSvgIgN+rYIAjLbQaeDtElv2ekZLCQVYG7OXnFZqiN7bCpTSU="}]},"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/gesso-0.13.0.tgz_1458332823675_0.9294066280126572"}}},"readme":"Gesso.js\n========\n\nGesso lets you create [&lt;canvas&gt;][] applications for the browser using\nthe powerful server-side tools you're used to, such as [npm][]\nand [require()][], all without writing any HTML or CSS.\n\n\nWhat?\n-----\n\nGesso is a command-line tool that:\n\n- **Builds** your project on-the-fly so you can see changes immediately\n- **Eliminates boilerplate** by running the result in a canvas on `localhost`\n- Lets you **deploy** by **adding a single** `<script>` element to your website\n\nGesso also includes an optional base library, and a plugin system to handle\nambitious canvas projects.\n\n![Teaser](artwork/teaser.png)\n\n\nWhy?\n----\n\nSometimes you just want to [make good art][] in the browser. And that\ninspiration shouldn't be wasted on boilerplate or build details.\n\n\nInstallation\n------------\n\nInstall with [npm][].\n\n```bash\n$ npm install -g gesso\n```\n\n\nUsage\n-----\n\n1. Initialize a new package:\n\n    ```bash\n    $ npm init\n    ```\n\n2. Add Gesso as a dependency:\n\n    ```bash\n    $ npm install -S gesso\n    ```\n\n3. Create a new `index.js` file and add your code. For example:\n\n    ```js\n    var Gesso = require('gesso');\n\n    var game = new Gesso();\n    var t = 0;\n    var x;\n\n    game.update(function () {\n      t += 1;\n      var center = (game.width - 300) / 2;\n      x = center + Math.sin(t / 15) * 20;\n    });\n\n    game.render(function (ctx) {\n      ctx.fillStyle = 'rgba(255, 255, 255, 0.2)';\n      ctx.fillRect(0, 0, game.width, game.height);\n\n      ctx.font = '36px Verdana';\n      ctx.fillStyle = '#f34';\n      ctx.fillText('Hello,', 270, 200);\n      ctx.fillText('Browser Games!', x, 252);\n    });\n\n    game.run();\n    ```\n\n  *Note: See [hello][] for a complete project around this example.*\n\n4. Build and serve:\n\n    ```bash\n    $ gesso server\n    version: x.y.z\n     * Running on http://localhost:63550/\n     * Watching for changes\n    ```\n\n    Now visit [http://localhost:63550](http://localhost:63550/) to see it in action.\n\n\nCommands\n--------\n\nThe command-line interface provides commands to help you build, test, and\npublish an idea quickly.\n\nYou can also type `gesso -h` for inline help.\n\n\n#### serve\n\nBuilds and serves your app, rebuilding on file changes.\n\n```bash\n$ gesso serve [options]\n```\n\n*Aliases: `server`, `s`*\n\n- `--port, -p <port>`: The port to serve on (default `63550`)\n- `--host <address>`: The host to serve from (default `0.0.0.0`)\n\n\n#### build\n\nBuilds your app and bundles it into the output file (dist/gesso-bundle.js by default).\n\n```bash\n$ gesso build [options]\n```\n\n*Aliases: `b`*\n\n- `--out <path>`: The output file (default `dist/gesso-bundle.js`)\n\n\nProject layout\n--------------\n\nGesso projects are normal Node projects. The only additional requirements are:\n\n1. You need to include `gesso` as a dependency. The CLI delegates all commands\n    to the local installation so you can use different versions of Gesso in\n    different projects.\n2. Your project must expose an entry point. This is implicit if you create an\n    `index.js` file. Or you can be explicit by providing a [main][] field.\n\nGesso uses [browserify][] to construct a `require()` dependency tree, including\nnpm-installed packages, then combines them into a single JavaScript file. You can\nalso use many Node built-in modules since they're wrapped to work in the browser.\n\n\nAPI\n---\n\n*Detailed documentation is currently being written and will be live by version 1.0.*\n\n*Please take a look at [the spinning example's index.js][spinning/index.js] for now.*\n\n\nDeploying\n---------\n\n1. Build your project\n\n    ```bash\n    $ gesso build\n    ```\n\n2. Move the generated `dist/gesso-bundle.js` to your website\n\n3. Add the following on your page where you want your project to be rendered:\n\n    ```html\n    <canvas id=\"gesso-target\"></canvas>\n    ```\n\n  *Note: If this is the only canvas on the page, then you can omit the `id`.*\n\n4. Add the following just above the `</body>` close tag:\n\n    ```html\n    <script src=\"gesso-bundle.js\"></script>\n    ```\n\n\nContributing\n------------\n\n1. Check the open issues or open a new issue to start a discussion around\n  your feature idea or the bug you found\n2. Fork the repository, make your changes, and add yourself to [authors.md][]\n3. Send a pull request\n\nIf your PR has been waiting a while, feel free to [ping me on Twitter][twitter].\n\nUse this software often? Please consider supporting me on\n<a href=\"http://gratipay.com/joeyespo\" target=\"_blank\" title=\"Thank you!\">\n  <img align=\"center\" style=\"margin-bottom:1px\" src=\"http://joeyespo.com/images/gratipay-button.png\" alt=\"Gratipay\">\n</a>\n\n\n[&lt;canvas&gt;]: http://en.wikipedia.org/wiki/Canvas_element\n[npm]: http://npmjs.org\n[require()]: http://nodejs.org/api/modules.html\n[make good art]: http://www.youtube.com/watch?v=ikAb-NYkseI\n[hello]: examples/hello/\n[main]: http://npmjs.org/doc/files/package.json.html\n[browserify]: http://github.com/substack/node-browserify\n[spinning/index.js]: http://github.com/gessojs/gessojs/blob/master/examples/spinning/index.js\n[authors.md]: AUTHORS.md\n[twitter]: http://twitter.com/joeyespo\n","maintainers":[{"name":"joeyespo","email":"joeyespo@gmail.com"}],"time":{"modified":"2022-06-18T07:43:50.146Z","created":"2012-07-04T03:08:19.296Z","0.0.1":"2012-07-04T03:08:35.979Z","0.8.0":"2014-10-21T04:19:55.621Z","0.8.1":"2014-10-21T04:51:14.975Z","0.8.2":"2014-10-21T05:31:14.244Z","0.8.3":"2014-10-21T05:34:44.137Z","0.8.4":"2014-10-21T05:41:00.429Z","0.9.0":"2015-02-19T05:46:17.819Z","0.10.0":"2015-02-24T08:22:23.000Z","0.10.1":"2015-05-05T06:38:48.424Z","0.11.0":"2015-05-09T07:02:33.010Z","0.12.0":"2015-09-13T17:17:03.511Z","0.13.0":"2016-03-18T20:27:06.082Z"},"author":{"name":"Joe Esposito","email":"joe@joeyespo.com"},"users":{"joeyespo":true},"homepage":"http://gessojs.com","repository":{"type":"git","url":"http://github.com/gessojs/gessojs.git"},"bugs":{"url":"https://github.com/gessojs/gessojs/issues"},"license":"MIT","readmeFilename":"README.md"}