{"id":25452345,"url":"https://github.com/raphaelsenn/mandelbrot-set-visualizer-in-python","last_synced_at":"2025-08-22T10:10:13.189Z","repository":{"id":184197685,"uuid":"628885400","full_name":"raphaelsenn/mandelbrot-set-visualizer-in-python","owner":"raphaelsenn","description":"Visualizes the Mandelbrot set using the Python Imaging Library (PIL)","archived":false,"fork":false,"pushed_at":"2023-07-27T11:48:16.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-16T12:13:43.519Z","etag":null,"topics":["complex-numbers","fractal-images","mandelbrot","mandelbrot-fractal","mandelbrot-set","mathematics","maths","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","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/raphaelsenn.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":"2023-04-17T07:24:16.000Z","updated_at":"2025-02-21T11:18:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4dddae1-78c3-4240-95dc-5e00a7baaa36","html_url":"https://github.com/raphaelsenn/mandelbrot-set-visualizer-in-python","commit_stats":null,"previous_names":["raphsenn/mandelbrot-set-visualizer-in-python","raphaelsenn/mandelbrot-set-visualizer-in-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raphaelsenn/mandelbrot-set-visualizer-in-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsenn%2Fmandelbrot-set-visualizer-in-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsenn%2Fmandelbrot-set-visualizer-in-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsenn%2Fmandelbrot-set-visualizer-in-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsenn%2Fmandelbrot-set-visualizer-in-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raphaelsenn","download_url":"https://codeload.github.com/raphaelsenn/mandelbrot-set-visualizer-in-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raphaelsenn%2Fmandelbrot-set-visualizer-in-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271620597,"owners_count":24791569,"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-22T02:00:08.480Z","response_time":65,"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":["complex-numbers","fractal-images","mandelbrot","mandelbrot-fractal","mandelbrot-set","mathematics","maths","python3"],"created_at":"2025-02-17T23:05:32.315Z","updated_at":"2025-08-22T10:10:13.119Z","avatar_url":"https://github.com/raphaelsenn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mandelbrot-Set-Visualizer-in-Python\nThis is a Python program that visualizes the Mandelbrot set using the Python Imaging Library (PIL). The program generates a Mandelbrot set fractal image and saves it to the specified file location.\n![example](https://github.com/raphsenn/Mandelbrot-Set-Visualizer-in-Python/assets/88326020/e8af5f44-a834-4149-885c-10b3637374cd)\n\n# Usage\nTo run the program, execute the following command:\npython3 mandelbrot_visualizer.py\n\nOnce the program is running, it will generate a Mandelbrot set image with the specified settings and save it to the specified file location. You can modify the settings of the image by changing the following parameters:\n\n    c: The complex value used as the center of the image.\n    w: The complex value used as the width and height of the image.\n    px: The number of pixels in the x-axis.\n    py: The number of pixels in the y-axis.\n    m: The maximum number of iterations used to determine if a point is in the Mandelbrot set.\n    out_name: The file name of the image to be saved.\n\n# Mandelbrot Function\n\nThe mandelbrot() function takes two arguments, a complex number c and an integer m, and returns an integer that represents the number of iterations required to determine if c is in the Mandelbrot set.\n\n# Sample Funcion\nThe sample() function takes five arguments, two complex numbers z and w, two integers x and y, and two integers sx and sy. It converts complex numbers to pixels.\n\n# Color Function\nThe color() function takes two integers i and max_i, and returns a tuple of three integers representing the hue, saturation, and value of the color.\n\n# Render Function\nThe render_mandelbrot() function takes six arguments, a complex number c, a complex number w, two integers px and py, an integer m, and a string out_name. It renders the Mandelbrot set fractal image and saves it to the specified file location.\n\n# Example Output\nEample Output is example.jpg\n\n# License\nThis program is licensed under the MIT License. See the LICENSE file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelsenn%2Fmandelbrot-set-visualizer-in-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraphaelsenn%2Fmandelbrot-set-visualizer-in-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraphaelsenn%2Fmandelbrot-set-visualizer-in-python/lists"}