{"id":21539118,"url":"https://github.com/profan/lovely-systems","last_synced_at":"2026-05-18T08:32:21.463Z","repository":{"id":25068578,"uuid":"28488840","full_name":"profan/lovely-systems","owner":"profan","description":"L-Systems in Lua with accompanying LÖVE2D example.","archived":false,"fork":false,"pushed_at":"2015-01-03T12:49:38.000Z","size":244,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-29T21:48:45.811Z","etag":null,"topics":["l-systems","love2d","lua"],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/profan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-25T18:52:38.000Z","updated_at":"2025-09-02T21:17:51.000Z","dependencies_parsed_at":"2022-08-23T17:50:40.084Z","dependency_job_id":null,"html_url":"https://github.com/profan/lovely-systems","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/profan/lovely-systems","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profan%2Flovely-systems","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profan%2Flovely-systems/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profan%2Flovely-systems/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profan%2Flovely-systems/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/profan","download_url":"https://codeload.github.com/profan/lovely-systems/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/profan%2Flovely-systems/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33170838,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["l-systems","love2d","lua"],"created_at":"2024-11-24T04:14:08.614Z","updated_at":"2026-05-18T08:32:21.440Z","avatar_url":"https://github.com/profan.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Tree](http://i.imgur.com/PZCJuuA.png)\n\nlovely-systems\n=================================\n\nSimple implementation of [L-Systems](http://en.wikipedia.org/wiki/L-system) in Lua, with examples in LÖVE2D.\n\nRequirements\n------------\n\n* Lua \u003e= 5.1 (?)\n* LÖVE2D (for the example project)\n\nRunning the example project\n\n\t\tlove example\n\nDownloading the source\n------------\nEither with git clone as below or by downloading a zipball of the [latest...](https://github.com/Profan/lovely-systems/archive/master.zip)\n\t\t\n\t\tgit clone https://github.com/Profan/lovely-systems.git\n\nUsage\n------------\nWhen testing the example, use your arrow keys to change scale and segment size.\n\nExample of defining a sierpinski triangle, example also already present in example code.\n```lua\t\nlocal lsystem = require \"l-system\"\n\t\t\ninitial_state = {state = {'F'}, rules = {['F'] = 'G-F-G', ['G'] = 'F+G+F'} }\nfractal = lsystem.nthstep(initial_state, 2) -- recurses twice\n\t\t\n-- fractal.state now holds: F+G+F-G-F-G-F+G+F, in table form.\n```\nwhich in turn can be used to produce: ![Fractal](http://i.imgur.com/iPqtXre.png)\n\nor by increasing the iterations to 8, you can produce: ![BetterFractal](http://i.imgur.com/wR1noEP.png)\n\nanother example, a christmas tree! (sort of)\n![Gran](http://i.imgur.com/KolwM5G.png)\n\nTODO\n------------\n\n - [ ] ... write tests?\n\nCredits\n------------\nCredits for the libraries which are used in the example!\n\n* Matthias Richter - [HUMP.](https://github.com/vrld/hump)\n\nLicense\n------------\nSee attached LICENSE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofan%2Flovely-systems","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprofan%2Flovely-systems","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprofan%2Flovely-systems/lists"}