{"id":15540296,"url":"https://github.com/rm-hull/lindenmayer-systems","last_synced_at":"2025-07-30T13:32:47.915Z","repository":{"id":6257654,"uuid":"7490429","full_name":"rm-hull/lindenmayer-systems","owner":"rm-hull","description":"An L-system or Lindenmayer system is a parallel rewriting system, namely a variant of a formal grammar, most famously used to model the growth processes of plant development, but also able to model the morphology of a variety of organisms. Clojure / Heroku.","archived":false,"fork":false,"pushed_at":"2018-10-06T17:27:24.000Z","size":581,"stargazers_count":37,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-23T16:49:42.037Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://lindenmayer-systems-uvknkycyxd.now.sh/random","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rm-hull.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-01-07T21:41:18.000Z","updated_at":"2023-11-24T08:29:13.000Z","dependencies_parsed_at":"2022-08-29T19:32:09.045Z","dependency_job_id":null,"html_url":"https://github.com/rm-hull/lindenmayer-systems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rm-hull/lindenmayer-systems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Flindenmayer-systems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Flindenmayer-systems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Flindenmayer-systems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Flindenmayer-systems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rm-hull","download_url":"https://codeload.github.com/rm-hull/lindenmayer-systems/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rm-hull%2Flindenmayer-systems/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267875484,"owners_count":24158780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T12:13:28.753Z","updated_at":"2025-07-30T13:32:47.892Z","avatar_url":"https://github.com/rm-hull.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lindenmayer Systems\n[![Build Status](https://secure.travis-ci.org/rm-hull/lindenmayer-systems.svg)](http://travis-ci.org/rm-hull/lindenmayer-systems)\n[![Coverage Status](https://coveralls.io/repos/rm-hull/lindenmayer-systems/badge.svg?branch=master)](https://coveralls.io/r/rm-hull/lindenmayer-systems?branch=master)\n[![Dependencies Status](https://versions.deps.co/rm-hull/lindenmayer-systems/status.svg)](https://versions.deps.co/rm-hull/lindenmayer-systems)\n[![Docker Pulls](https://img.shields.io/docker/pulls/richardhull/lindenmayer-systems.svg?maxAge=2592000)](https://hub.docker.com/r/richardhull/lindenmayer-systems/)\n[![Maintenance](https://img.shields.io/maintenance/yes/2018.svg?maxAge=2592000)]()\n\n\u003e **NOTE** This project is currently undergoing significant rework\n\nAn L-System or Lindenmayer system is a parallel rewriting system, namely a\nvariant of a formal grammar, most famously used to model the growth\nprocesses of plant development, but also able to model the morphology of\na variety of organisms.\n\nThis project is written using Clojure, demonstrating L-System\nre-writing, deployed to Heroku:\n\nPre-defined examples can be generated using these links:\n\n#### [Sierpinski Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/sierpinski-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/sierpinski-curve.svg)\n\n#### [Sierpinski Triangle](http://lindenmayer-systems.destructuring-bind.org/explorer/sierpinski-triangle)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/sierpinski-triangle.svg)\n\n#### [Sierpinski Median Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/sierpinski-median-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/sierpinski-median-curve.svg)\n\n#### [Koch Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-curve.svg)\n\n#### [Koch Snowflake](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-snowflake)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-snowflake.svg)\n\n#### [Koch Ring](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-ring)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-ring.svg)\n\n#### [Koch Blocks](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-blocks)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-blocks.svg)\n\n#### [Koch Islands](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-islands)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-islands.svg)\n\n#### [Koch Crystal](http://lindenmayer-systems.destructuring-bind.org/explorer/koch-crystal)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/koch-crystal.svg)\n\n#### [Quadratic Koch Island](http://lindenmayer-systems.destructuring-bind.org/explorer/quadratic-koch-island)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/quadratic-koch-island.svg)\n\n#### [Cesaro-Koch Fractal](http://lindenmayer-systems.destructuring-bind.org/explorer/cesaro-koch-fractal)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/cesaro-koch-fractal.svg)\n\n#### [Joined-Cross Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/joined-cross-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/joined-cross-curve.svg)\n\n#### [Penrose Tiling](http://lindenmayer-systems.destructuring-bind.org/explorer/penrose-tiling)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/penrose-tiling.svg)\n\n#### [Peano-Gosper Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/peano-gosper-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/peano-gosper-curve.svg)\n\n#### [Hilbert's Space-filling Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/hilberts-space-filling-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/hilberts-space-filling-curve.svg)\n\n#### [FASS Curve](http://lindenmayer-systems.destructuring-bind.org/explorer/fass-curve)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/fass-curve.svg)\n\n#### [Heighway's Dragon](http://lindenmayer-systems.destructuring-bind.org/explorer/heighways-dragon)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/heighways-dragon.svg)\n\n#### [Shrub](http://lindenmayer-systems.destructuring-bind.org/explorer/shrub)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/shrub.svg)\n\n#### [Fractal Plant](http://lindenmayer-systems.destructuring-bind.org/explorer/fractal-plant)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/fractal-plant.svg)\n\n#### [Tree](http://lindenmayer-systems.destructuring-bind.org/explorer/tree)\n![SVG](https://rawgithub.com/rm-hull/lindenmayer-systems/master/doc/examples/tree.svg)\n\n## Pre-requisites\n\nYou will need [Leiningen](https://github.com/technomancy/leiningen) 2.8.1 or above installed.\n\n## Building\n\nTo build and start the service locally, run:\n\n    $ cd lindenmayer-systems\n    $ lein deps\n    $ lein ring server-headless\n\nTo build and run a standalone jar:\n\n    $ lein ring uberjar\n    $ java -jar target/lindenmayer-systems-0.2.1-standalone.jar\n\nIn both instances, the webapp starts on http://localhost:3000.\n\n### Docker image\n\nA docker image is available as [richardhull/lindenmayer-systems](https://hub.docker.com/r/richardhull/lindenmayer-systems),\nand can be downloaded and started with:\n\n    $ docker pull richardhull/lindenmayer-systems\n    $ docker run --name lindenmayer-systems -d -p 3000:3000 richardhull/lindenmayer-systems\n\n## TODO\n\n* UI improvements to allow editing and a last-created list\n\n## Implementation Notes\n\nTODO\n\n## References\n\n* [The Algorithmic Beauty of Plants](http://algorithmicbotany.org/papers/abop/abop.pdf) [PDF]\n* [Project Euler #220: Heighway Dragon](http://projecteuler.net/problem=220)\n* [Project Euler #226: A Scoop of Blancmange](http://projecteuler.net/problem=226)\n* [Project Euler #230: Fibonacci Words](http://projecteuler.net/problem=230)\n* https://en.wikipedia.org/wiki/Dragon_curve\n* https://en.wikipedia.org/wiki/L-system\n* http://www.kevs3d.co.uk/dev/lsystems/\n* http://teethgrinder.co.uk/canvas/l-system-1.html\n* http://paulbourke.net/fractals/lsys/\n* http://canonical.org/~kragen/named-msgs/reptile-lsystems\n\n\n## License\n\n### The MIT License (MIT)\n\nCopyright (c) 2016 Richard Hull\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Flindenmayer-systems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frm-hull%2Flindenmayer-systems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frm-hull%2Flindenmayer-systems/lists"}