Skip to content

ppieper/L-system-boids

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L-system-boids

A demo of procedural plant generation using the L-system (https://en.wikipedia.org/wiki/L-system), as well as an implementation of the Boids flocking AI created by Craig Reynolds

Build instructions:

  • Open the model.vcxproj VC++ project in Visual Studio

  • IMPORTANT: Make sure that you are building the 'Release' build, or the fltk libraries won't be able to compile:

    --Build->Configuration Manager...->select 'Release' from the drop down for 'Active Solution Configuration' --Close the configuration manager and proceed to build

Demonstration:

The L-system's recursive generation in action, using a predefined grammar:

alt text

The Boids simulation in action--flocking around a target:

alt text

Some different shapes that can be generated using stochastic grammar:

alt text

About

An OpenGL demo of procedural plant generation using my own implementation of the L-system (https://en.wikipedia.org/wiki/L-system), as well as my implementation of the Boids flocking AI created by Craig Reynolds.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors