thykka / jsdp1

JavaScript Demo Platform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

jsDP1

Tooling for graphics prototyping with HTML Canvas.

Features

  • Provides three functions; init and update are used to set or update the global state, whereas draw is used to paint on the canvas, based on the current state.
  • non-antialiased drawing methods: drawText, drawCircle
  • Gulp build process allows SCSS, ES6 syntax, modules etc.
  • Minimal express server, proxied via BrowserSync

Setup

  1. Clone the repo:
$ git clone https://github.com/thykka/jsdp1.git
  1. Switch to Node v12, with nvm installed:
$ cd jsdp1
$ nvm use
  1. Install gulp-cli and project dependencies:
$ npm i --global gulp-cli
$ npm i .

Usage

  1. Start the Gulp task for building and watching for changes:
$ gulp

Examples

See this repo's other branches for some small demo projects

About

JavaScript Demo Platform

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 85.1%Language:HTML 8.4%Language:SCSS 6.5%