sunflowerseastar / fractals-3d

interactive L-systems and 3D space-filling curves

Home Page:https://fractals.sunflowerseastar.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fractals 3D

Written with three.js.

Quick Start

Dev:

# install deps
yarn
# run dev.js esbuild watcher
yarn start
# 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
    • Path3.ts - helper Curve class for TubeGeometry

About

interactive L-systems and 3D space-filling curves

https://fractals.sunflowerseastar.com/

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 87.5%Language:JavaScript 4.4%Language:HTML 4.4%Language:CSS 3.7%