Skip to content

Bassadin/Three.LS

Repository files navigation

Three.LS

Lindenmayer-System based object generation with WebGL

image

It even (kinda) runs on an Apple Watch :)

141848972-b3483d27-ca3e-46b6-af02-9a5c83efec1b

On smartphones: image

Info

3D L-Systems with Three.js

We used Three.js to create trees and other plant-like structures using Lindenmayer Systems. A code of rulesets can be used and iterated upon to create all kinds of "growing" structures.

Contributors

AR version

Web XR supported AR version: https://bassadin.github.io/Three.LS/ar.html

image

on IOS it is only supported via: https://apps.apple.com/de/app/webxr-viewer/id1295998056

on Android it works via Chrome Browser

GitHub Pages Version

Online auto-deploy version available here: https://bassadin.github.io/Three.LS

Development

Clone the project and install dependencies:

Install node version 14.18.1 here: https://nodejs.org/en/download/releases/

No global dependency is needed other than node and npm. Local dependencies are installed into the repository via package.json. The project works operating system independent. However, the AR application on IOS only works as described above.

npm i  /  yarn
npm run start  /  yarn start

Local WebXR testing