{"id":26601411,"url":"https://github.com/calebwin/go-fern","last_synced_at":"2025-04-09T16:34:12.532Z","repository":{"id":100568147,"uuid":"148684277","full_name":"calebwin/go-fern","owner":"calebwin","description":"A small library for creating persistent L-systems in the Go programming language","archived":false,"fork":false,"pushed_at":"2018-09-24T20:41:17.000Z","size":15,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T18:50:54.454Z","etag":null,"topics":["golang","l-system"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/calebwin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2018-09-13T19:00:46.000Z","updated_at":"2022-02-10T18:51:06.000Z","dependencies_parsed_at":"2023-05-15T23:45:21.394Z","dependency_job_id":null,"html_url":"https://github.com/calebwin/go-fern","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fgo-fern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fgo-fern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fgo-fern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/calebwin%2Fgo-fern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/calebwin","download_url":"https://codeload.github.com/calebwin/go-fern/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248067787,"owners_count":21042357,"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","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":["golang","l-system"],"created_at":"2025-03-23T18:39:53.025Z","updated_at":"2025-04-09T16:34:12.527Z","avatar_url":"https://github.com/calebwin.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What it is\nA tiny library for creating Lindenmayer systems. Currently supports stochastic grammars, context-sensitive grammars.\n\n## How to use it\n```\nimport \"github.com/calebwin/fern\"\n\nvar myL = fern.generate(\"ABC\") // create new L-System with an axiom of \"ABC\"\n\nmyRules := map[string][]fern.Successor {\n  \"A\" : []fern.Successor{\n    fern.Successor {\n      \"AB\",\n      1.0,\n      \"\",\n      \"\",\n    },\n  },\n  \"B\" : []fern.Successor{\n    fern.Successor {\n      \"BA\",\n      1.0,\n      \"C\",\n      \"A\",\n    },\n  },\n}\nmyL = fern.setRules(myL, myRules) // set rules for the L-System\n\nfern.iterate(myL, 3) // \"ABBBBC\" after 3 iterations of the L-System\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebwin%2Fgo-fern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcalebwin%2Fgo-fern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcalebwin%2Fgo-fern/lists"}