Skip to content

Pyramid 3D. A simple WebGL application on Typescript

License

Notifications You must be signed in to change notification settings

belom88/ts-gl-0-pyramid

Repository files navigation

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.

About

Pyramid 3D. A simple WebGL application on Typescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published