topical media & game development

talk show tell print

graphic-processing-site-examples-Topics-Fractals-and-L-Systems-PenroseSnowflake-PenroseSnowflake.pde / pde



  
Penrose Snowflake L-System by Geraldine Sarmiento (NYU ITP). This code was based on Patrick Dwyer's L-System class.

  
  
  PenroseSnowflakeLSystem ps;
  
  void setup() {
    size(640, 360);
    stroke(255);
    noFill();
    smooth();
    ps = new PenroseSnowflakeLSystem();
    ps.simulate(4);
  }
  
  void draw() {
    background(0);
    ps.render();
  }
  
  


(C) Æliens 20/2/2008

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.