{"id":18258501,"url":"https://github.com/bartolomej/brot","last_synced_at":"2025-07-16T10:33:53.139Z","repository":{"id":119582651,"uuid":"283790200","full_name":"bartolomej/brot","owner":"bartolomej","description":"Mandelbrot set renderer 🖌","archived":false,"fork":false,"pushed_at":"2020-07-31T19:49:39.000Z","size":15784,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T23:22:05.606Z","etag":null,"topics":["complex-analysis","complex-numbers","fractals","mandelbrot-fractal"],"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/bartolomej.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":"2020-07-30T13:58:05.000Z","updated_at":"2020-07-31T19:49:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"5f3ad51b-99cb-4951-9c2b-1999d28f06f0","html_url":"https://github.com/bartolomej/brot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bartolomej/brot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Fbrot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Fbrot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Fbrot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Fbrot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bartolomej","download_url":"https://codeload.github.com/bartolomej/brot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bartolomej%2Fbrot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265503091,"owners_count":23778000,"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":["complex-analysis","complex-numbers","fractals","mandelbrot-fractal"],"created_at":"2024-11-05T10:31:30.982Z","updated_at":"2025-07-16T10:33:53.029Z","avatar_url":"https://github.com/bartolomej.png","language":"Go","readme":"# Brot 🖌\n\nA tool to produce aesthetically pleasing images of mandelbrot and julia sets from the command line.\n\n## Setup\n\nUsing this tool requires a working Go environment. \nSee the [installation instructions for Go](https://golang.org/doc/install) or [read the articles on DigitalOcean](https://www.digitalocean.com/community/tutorial_series/how-to-install-and-set-up-a-local-programming-environment-for-go).\nFor further information read [this article](https://www.digitalocean.com/community/tutorials/how-to-build-and-install-go-programs) on building and installing go programs.\n\nMove to your projects folder and clone the repo:\n```shell script\n$ git clone https://github.com/bartolomej/brot \u0026\u0026 cd brot\n```\n\nDownload all dependencies:\n```shell script\n$ go get\n```\n\nRun go program with:\n```shell script\n$ go run main.go\n```\n\nYou can also install the program to use it as a cli tool from anywhere in the system by running:\n```shell script\n$ go install\n```\n\nNote that the above commands will only work if you correctly configured the go environment.\n\n## Usage\n\nOnce you've installed this program with `go install` you can run commands with `brot`.\nWithout any arguments the program will render example image.\n\nCreate `config.json` file for custom parameters. Example syntax:\n```json\n{\n  \"scenes\": [\n    {\n      \"name\": \"mdb1\",\n      \"type\": \"mandelbrot\",\n      \"params\": {\n        \"intervalX\": [-2.1, 0.7],\n        \"intervalY\": [-1.2, 1.2],\n        \"step\": 0.01,\n        \"iter\": 50,\n        \"hue\": {\n          \"start\": 0,\n          \"factor\": 10\n        }\n      }\n    },\n    {\n      \"name\": \"jul1\",\n      \"type\": \"julia\",\n      \"params\": {\n        \"intervalX\": [-2, 2],\n        \"intervalY\": [-1.5, 1.5],\n        \"step\": 0.01,\n        \"iter\": 15,\n        \"exp\": [2, 0],\n        \"c\": [-0.8,0],\n        \"hue\": {\n          \"start\": 170,\n          \"factor\": 30\n        }\n      }\n    }\n  ]\n}\n```\n\nRender a custom scene from config by providing `name` as a first parameter to `brot` command:\n```shell script\n$ brot \u003cscene-name\u003e\n```\n\nImage outputs are stored in `/out` folder.\n\n## Cool resources\n- [Mandelbrot set analyzed](https://www.youtube.com/watch?v=7MotVcGvFMg\u0026t=379s)\n- [Smooth shading implementation](http://linas.org/art-gallery/escape/smooth.html)\n\n## Example images\n\n![Black and white set](./images/black\u0026white.png)\n\n![Black and white set](./images/smooth.png)\n\n![Black and white set](./images/jul1.png)\n\n![Black and white set](./images/julia4.png)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartolomej%2Fbrot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbartolomej%2Fbrot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbartolomej%2Fbrot/lists"}