sunflowerseastar / gradients

experiments with threejs gradients

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gradients

Written with three.js.

Quick Start

Dev:

# install deps
yarn
# esbuild watcher
yarn dev
# visit localhost:8080 (separate terminal)
npx http-server

Build:

# minified esbuild
yarn build

Both yarn start and yarn build create a public/out.js bundle.

Structure

  • public/ - static html/css + dev & build output
    • index.html - simple markup
    • style.css - simple styles
    • out.js - bundle file from yarn start or yarn build
  • src/ - js to be bundled
    • main.ts - entry for index.html

About

experiments with threejs gradients

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 89.2%Language:TypeScript 8.8%Language:HTML 1.6%Language:CSS 0.3%