Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 1.38 KB

README.md

File metadata and controls

45 lines (29 loc) · 1.38 KB

Pyramid 3D

Simple WebGL application made on Typescript

The application renders a colored pyramid into canvas html element. Each of 4 faces of pyramid has different color (cyan, green, red, blue). The pyramid can be rotated around X, Y or Z axis by pressing corresponding button ("Rotate X", "Rotate Y", "Rotate Z").

Pyramid 3D Screenshot

Dependencies

  • NodeJS;
  • Npm;
  • Web browser with WebGL 1.0 support.

Build and Run

npm install
npm run build

Html with JS script is built in dist folder. Open dist/index.html in a web browser.

Development

npm install
npm run start

Develompent server is run on 8080 port (http://localhost:8080)

Implementation

The application is fully implemented on Typescript.

License

This repository and the code inside it is licensed under the MIT License. Read LICENSE for more information.