{"id":20416580,"url":"https://github.com/codebam/mandelbrot-set-generator","last_synced_at":"2025-08-21T09:04:45.370Z","repository":{"id":81046775,"uuid":"60026389","full_name":"codebam/mandelbrot-set-generator","owner":"codebam","description":"Mandelbrot generator using Python and Pygame","archived":false,"fork":false,"pushed_at":"2023-01-27T03:42:34.000Z","size":143,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T03:43:38.349Z","etag":null,"topics":["graphics","mandelbrot","pygame","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codebam.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}},"created_at":"2016-05-30T17:07:14.000Z","updated_at":"2023-01-27T03:43:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"210192e5-9550-4448-8c84-e00c61cb2770","html_url":"https://github.com/codebam/mandelbrot-set-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/codebam/mandelbrot-set-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fmandelbrot-set-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fmandelbrot-set-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fmandelbrot-set-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fmandelbrot-set-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codebam","download_url":"https://codeload.github.com/codebam/mandelbrot-set-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codebam%2Fmandelbrot-set-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271454849,"owners_count":24762698,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["graphics","mandelbrot","pygame","python"],"created_at":"2024-11-15T06:21:03.042Z","updated_at":"2025-08-21T09:04:45.313Z","avatar_url":"https://github.com/codebam.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Mandelbrot plot](mandelbrot.png)\n\n# Mandelbrot Generator\n\u003chttps://github.com/codebam/mandelbrot\u003e\n\nWritten in Python, Licensed under GPLv3\n\n## Things I did to improve speed\n- Most of the speed of the program is due to me using built in python complex mathematics which are more efficient.\n- Since f(x) = -f(x) it prints both sides of the image at the same time, which makes it twice as fast [[proof](https://www.lucaswillems.com/en/articles/3/mandelbrot-set-symmetry)]\n- A formula [here](https://en.wikipedia.org/wiki/Mandelbrot_set#Cardioid_.2F_bulb_checking) is used to prevent the iterations of the second period bulb.\n- The display is only updated when necessary since this takes a lot of resources for each pixel. It is done line by line, because doing it all at once only improves speed by a few fractions of a second and isn't worth it.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebam%2Fmandelbrot-set-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodebam%2Fmandelbrot-set-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodebam%2Fmandelbrot-set-generator/lists"}