Skip to content

linusyang/jscube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JSCube

Copyright (c) 2013 Linus Yang

Introduction

A simple demo to draw 3D objects pixel by pixel on 2D HTML5 canvas.

Features:

  • Only ultilize createImageData and putImageData API.
  • With simple anti-aliasing algorithm.
  • Support both mouse events and touch screen with multi-touch guestures.
  • Retina (HiDPI) display is supported.

Inspired by Pre3d project, totally re-written in CoffeeScript. Web page is powered by Bootstrap.

Please see the online demo: linusyang.com/jscube.

Build

Node.js is required for building from source.

git clone https://github.com/linusyang/jscube.git
cd jscube
npm install
npm run-script build

License

Licensed under GPLv3.

About

Draw 3D objects pixel by pixel on 2D HTML5 canvas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published