Home /  Sketchbook /  p5.js - Common Examples - Space Colonization
  • Info

Overview

This is a p5.js sketch intended to make a reusable component out of my earlier Space Colonziation sketch.

Original sketch which was inspired by the Coding Train’s Coding Challenge #17 on implementing the ‘Space Colonization’ tree growth algorithm, as outlined on AlgorithmBotany.com.

Controls

Keyboard:

  • p Will save a screenshot to your downloads folder.

References:

  • Earlier Space Colonization Sketch
  • Earlier Space Colonization Sketch - Code
  • AlgorithmBotany.com - Space Colonization
  • CropNutrition.com - How Plants Absorb Nutrients
  • Wikipedia - Hydrotropism
  • James Webb - Space Colonization

Links:

  • Live View
  • Source on Github

Screenshot:

screenshot