Skip to content

ashutilov/three.js-animations

Repository files navigation

GitHub package.json version GitHub commit activity GitHub top language Lines of code GitHub code size in bytes

Project Title

Sandbox for three.js, built with Vite and TypeScript.

Several experiments that used to live on separate Git branches are combined here: pick an example from the tab bar at the top of the page. Only one WebGL view runs at a time so switching tabs disposes the previous demo and mounts the next (better for performance than stacking every canvas on one screen).

Getting started

Install dependencies:

yarn install

Development

Start the Vite dev server (with hot reload):

yarn dev

Open the URL shown in the terminal (typically http://localhost:5173).

Static assets served as-is from the project live in public/ (for example favicon.png).

Production build

Create an optimized bundle in dist/:

yarn build

Preview the production build locally:

yarn preview

Quality checks

Script Description
yarn lint ESLint
yarn typecheck TypeScript (tsc --noEmit)
yarn test Vitest (unit tests)
yarn test:watch Vitest watch mode

There is no coverage step in this project.

About

3D animation based on three.js lib

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors