Coder Social home page Coder Social logo

bloom's Introduction

Bloom

Create a 3D fractal tree garden in your space using WebXR.


Setup


Motivation

  • It is 2021 buzzword-du-jour is metaverse. I want to explore what a calm, natural metaverse might feel like rather than a shopping center mixed with an office.

  • It is the COP26 climate summit during the week of writing so I thought putting some virtual trees into the world via immersive web technology was somewhat fitting.

  • I am keen to explore WebXR and this is a great way to brush back up on three.js


Ongoing notes

  • I started off by making a simple fractal tree in Processing using 2D vectors + lines + velocity. Converting this over to 3D was a bit tricky but understanding that nesting the branches in the three.js scenegraph is akin to pushMatrix and popMatrix in Processing mad everything a little clearer.

  • A magic moment was realising that nesting the branches in the tree structure of the three.js scenegraph is the key to making trees in 3D.

bloom's People

Contributors

0800robin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.