{"id":20757294,"url":"https://github.com/piebro/physarum-util","last_synced_at":"2026-04-18T23:32:39.158Z","repository":{"id":200619280,"uuid":"328705629","full_name":"piebro/physarum-util","owner":"piebro","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-07T13:13:43.000Z","size":8178,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T11:16:13.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/piebro.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}},"created_at":"2021-01-11T15:20:12.000Z","updated_at":"2021-04-07T13:13:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d7c4cbd-5bf3-425a-8ba9-eaf3d07d1f0e","html_url":"https://github.com/piebro/physarum-util","commit_stats":null,"previous_names":["piebro/physarum-util"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/piebro/physarum-util","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fphysarum-util","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fphysarum-util/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fphysarum-util/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fphysarum-util/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/piebro","download_url":"https://codeload.github.com/piebro/physarum-util/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/piebro%2Fphysarum-util/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31988694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"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":[],"created_at":"2024-11-17T09:41:22.020Z","updated_at":"2026-04-18T23:32:39.118Z","avatar_url":"https://github.com/piebro.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Physarum Util\n\nA command line tool to generate Physarum Transport Networks with [fogleman/physarum](https://github.com/fogleman/physarum).\n\n## Installation\n\nFirst install go and then install and clone physarum-util.\n\n```bash\ngo get -u github.com/piebro/physarum-util\ngit clone git@github.com:piebro/physarum-util.git\ncd physarum-util\n```\n\n## Usage\n\nRun the basic setup with default values.\n\n```bash\ngo run main.go -size 1024 -path random/random_%d.png --logPath \"random.log\"\n```\n\nIf the logPath is set, the setting to generate similar images is saved in the log file. You can use it like this:\n\n```bash\ngo run main.go -size 1024 -path 1024/1024_%d.png --configLogPath \"examples.log\" --configsLike \"examples/random_133621388.png\" -numOfExamples 5\n```\n\nYou can also manually set all options and generate images like this:\n\n```bash\ngo run main.go -size 1024 -path 1024/1024_%d.png -zoom 1 -blurPasses 2 -blurRadius 1 -config \"Config{0.593197, 44.885075, 0.24494606, 0.6983911, 5, 0.1},Config{1.4062264, 1.4197627, 1.9218088, 0.22434194, 5, 0.1},Config{1.5296767, 57.531967, 0.7028523, 1.314878, 5, 0.1}\" -color \"#E27A3F #45B29D #334D5C\" -numOfExamples 5\n```\n\nYou can can see all Options with ```go run main.go --help```.\n\n## Example images\n\n![example image 1](examples/random_133621388.png)\n\n![example image 2](examples/random_133248744.png)\n\n![example image 3](examples/random_133880739.png)\n\n![example image 4](examples/random_133359957.png)\n\n![example image 5](examples/random_133429343.png)\n\n## High Resolution Images\n\nFor printing high resolution images are handy. You can look for a setting you like in a lower resolution and then use:\n\n```bash\ngo run main.go -size 4096 -path 4096/4096_%d.png -configLogPath \"examples.log\" -configsLike \"examples/random_133621388.png\" -numOfExamples 1 -particlesPowerOfTwo 26 -blurRadius 4\n```\n\nThe taget resolution needs to be a multiple of 2. For a high resolution images more particles and a bigger blur radius is needed to make it look like the low resolution image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiebro%2Fphysarum-util","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpiebro%2Fphysarum-util","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpiebro%2Fphysarum-util/lists"}