@bvk/lsystem
v0.0.131
Published
A work in progress node module (my very first), that generates L-Systems including all features from Algorithmic Beauty of Plants. More docs, and examples to come :)
Downloads
15
Readme
☘️ LSystem ☘️
A work in progress node module (my very first), that generates L-Systems including all features from Algorithmic Beauty of Plants. More docs, and examples to come :)
Scripts to get going
npm run start-lsystem
: Runs the lsystem on a basic string, iterates itnpm run start-parser
: Runs the parser on a variety of inputs, showing outputs from Parsernpm run start-grammar
: Runs the grammar on a variety of inputs, showing outputs from Nearleynpm run test
: Runs test with jest.npm watch
: Runs typescript (tsc) in watch mode.
TODO
- [ ] Fix Error throwing (introduce error types) across the board
- [ ] Look at type system, be more frugal with type usage, potentially rename axiom
- [ ] Add Comments + JSDoc
- [ ] Publish examples repo, host examples somewhere
- [ ] Fix npmignore (remove it and just do "include" in package.json?)
- [ ] Add Readme
- [ ] Performance
- [ ] Change LSystem example to be interactive (take in input on the command line)
- [ ] LSystem constructor is slow (loops through productions every time), can be faster by using a map