Skip to content

dgroomes/threejs-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

22 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

threejs-playground

๐Ÿ“š Learning and experimenting with three.js.

JavaScript 3D library

The aim of the project is to create an easy to use, lightweight, cross-browser, general purpose 3D library. The current builds only include a WebGL renderer but WebGPU (experimental), SVG and CSS3D renderers are also available in the examples.

-- https://github.com/mrdoob/three.js

Instructions

Follow these instructions to build and run the project.

  1. Install dependencies:
    • npm install
  2. Build the the project continuously and serve the web content:
    • npm run start
    • The browser will open automatically and show the final product!

Design

This project uses three.js to make an animation inspired by pixel art.

The animation can be hosted in GitHub Pages. The process is not automated. Build the project with npm run build, then copy the contents of dist/ into docs/ and then commit and push the changes. The final result should be published by GitHub to the repository's GitHub Pages page at https://dgroomes.github.io/threejs-playground.

TODO

  • DONE Bundle the JavaScript/TypeScript and serve the files with Webpack
  • DONE Hello world three.js
  • DONE Make a grid of squares/blocks in three.js
  • DONE Publish to GitHub Pages
  • Add a pre-defined shader

Reference

About

๐Ÿ“š Learning and experimenting with three.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published