/vcamera

Implementation of Virtual Camera from scratch

Primary LanguageJavaScriptMIT LicenseMIT

Virtual Camera

Project for university. Written in JavaScript using Canvas. It uses Painter's Algorithm.

image

Key bindings

w a s d - move up/left/down/right

q e - move forward/back

+ - - zoom in/out

Arrow Left/Right - Rotate OX

Arrow Up/Down - Rotate OY

Page Up/Down - Rotate OZ

How to run

  • Clone repository
  • Run npm install and webpack
  • Open example/index.html in the web browser

Copyright

Copyright (c) 2016 Marcin Prokop. See LICENSE for details.