Skip to content

My take on Lindermayer systems, code is in cpp, generates pseudo procedurally generated content

Notifications You must be signed in to change notification settings

Gelehead/L_systems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L-Systems

This is a project about pseudo random procedural generation based on context-free grammars.

For now, the project isn't really more than creating an image of a flower / pant from a set of rules, the lindenmayer way.

Images

Cube Generation 2

cube_thing_gen2

Cube Generation 3

cube_thing_gen2

Cube Generation 4

cube_thing_gen2

Herb Generation 6

Herb gen 6

Documentation

see main document file (still placeholder for now)

grammar expansion

given a vector of symbols, terminals and non terminal. Iterate through every one of them and apply at random one of the rules that apply to them ( probabilities might apply - not yet implemented)

Pitfalls? :

  • probabilities should add up to 1
  • restricted to chars (no string symbols)
  • aa
  • aa

Expanding the project

Would be some really different directions for this

  • (unlikely) ML research
  • (very likely) Map generation
  • (unlikely) Compilation
  • (uhhhhh) highly modular python API interface
  • (.) aa
  • (.) aa

About

My take on Lindermayer systems, code is in cpp, generates pseudo procedurally generated content

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published