{"id":19768433,"url":"https://github.com/morphx666/lsysint","last_synced_at":"2026-03-19T11:35:29.864Z","repository":{"id":124074907,"uuid":"77583593","full_name":"morphx666/LSysInt","owner":"morphx666","description":"A simple L-System parser, interpreter and renderer, written in VB.NET","archived":false,"fork":false,"pushed_at":"2025-12-17T00:48:50.000Z","size":51,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-20T07:36:23.255Z","etag":null,"topics":["lsystem","lsystem-parser"],"latest_commit_sha":null,"homepage":null,"language":"Visual Basic .NET","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/morphx666.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-29T04:50:41.000Z","updated_at":"2025-12-17T00:48:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"2fe8720d-235d-4590-a6a8-77644ff7f54d","html_url":"https://github.com/morphx666/LSysInt","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/morphx666/LSysInt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphx666%2FLSysInt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphx666%2FLSysInt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphx666%2FLSysInt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphx666%2FLSysInt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morphx666","download_url":"https://codeload.github.com/morphx666/LSysInt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morphx666%2FLSysInt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29084357,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T03:31:03.593Z","status":"ssl_error","status_checked_at":"2026-02-04T03:29:50.742Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["lsystem","lsystem-parser"],"created_at":"2024-11-12T04:38:19.864Z","updated_at":"2026-02-04T12:32:52.262Z","avatar_url":"https://github.com/morphx666.png","language":"Visual Basic .NET","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LSysInt\nA simple L-System parser, interpreter and renderer, written in VB.NET\n\nThis is, in fact, a very rough and simple interpreter to render [L-system](https://en.wikipedia.org/wiki/L-system) formulas.\n\n![LSysInt rendering the Helge von Koch curve](https://xfx.net/stackoverflow/lsysint/LSysInt-VonKoch.png)\n\nThe grammar is very similar to that of the more mature project [LILiS](https://github.com/Drup/LILiS), with a few distinctions:\n- A curve is defined using a name with its body enclosed between curly brackets.\n- Parameters names must always end with a colon.\n- So far, only eigth parameters are supported:\n  - **level**: defines the maximum recursion level\n  - **axiom**: defines the initial conditions\n  - **rule**: defines one or more rules to be applied to the axiom\n  - **angle**: defines the default angle when none is specified\n  - **offsetX**: defines a rendering origin offset in the horizontal direction\n  - **offsetY**: defines a rendering origin offset in the vertical direction\n  - **length**: defines the default length of a segment when none is specified\n  - **constant**: defines a simple string-based substitution (no function support yet)\n- Although LSysInt does not currently support \"definitions\", most of the time these can be represented through one or more rules.\n- These are the currently supported internal functions:\n  - **F(x)**: move forward and draw `x` amount of pixels\n  - **B(x)**: move backwards and draw `x` amount of pixels\n  - **f(x)**: move forward `x` amount of pixels\n  - **+(x)**: increase the angle by `x` amount\n  - **-(x)**: decrease the angle by `x` amount\n  - **[**: save current vector state\n  - **]**: restore saved vector state\n  - **%(r, g, b, a)**: set vector color\n\nHere's a sample code to render the dragon curve up to its 13th iteration:\n  \n```\n    Dragon {\n        level: 13\n        axiom: -(45) f(0.47) * F(0.6) X(0.6)\n        rule: X(n) = X(n/Sqrt(2)) +(90) Y(n/Sqrt(2)) F(n/Sqrt(2)) +(90)\n        rule: Y(n) = -(90) F(n/Sqrt(2)) X(n/Sqrt(2)) -(90) Y(n/Sqrt(2))\n        rule: F(n) = F(n/Sqrt(2))\n        rule: *    = * -(45)\n    }\n```\n![LSysInt rendering the Dragon](https://xfx.net/stackoverflow/lsysint/LSysInt-Dragon.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphx666%2Flsysint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorphx666%2Flsysint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorphx666%2Flsysint/lists"}