Coder Social home page Coder Social logo

kochislands-lsystem's Introduction

KochIslands-LSystem

This processing program creates beautiful quadratic koch islands using L-systems (edge-rewriting and node-rewriting) .

This example consists of 10 examples but there is no reason why you cannot add hundreds of them.

"quadratic koch island" file contains all the axioms and propagations and aslo the execution command.

"turtle" file contains how the prop commands will read out to the display.

Axioms are in the String format:

For example - String axiom1 = "F-F-F-F";

Propagation are in the String[] format:

Prop consists of two values. 'F' propagator and 'f' propagator.

For example - String[] prop1 = {"F-F+F+FF-F-F+F", "f"};

You can write your own axioms and propagations and then add it to the String[] axioms and String[][] props respectively. Then see the magic by changing "current" value and enjoy generations of your L-system.

kochislands-lsystem's People

Contributors

himanshumittal01 avatar

Watchers

James Cloos 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.