📦 Rendering a Perspective Box with HTML Canvas
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
version1.0.1
version1
version2
CHANGELOG.md
README.md
index.html
script.js
style.css

README.md

Canvas Vanishing Points is an experimental project I made, to understand how 3D objects are represented in 2D space, using perspective vanishing points.

Below is a gif on what the repo does:

Features

  • You can set the size of the box
  • You can change the origin vanishing point position
  • You can toggle a second vanishing point
  • You can adjust spacing between 2 vanishing points
  • You can increase the overallsize of the unit.