{"id":22873525,"url":"https://github.com/aatrick/julia_set","last_synced_at":"2025-06-23T19:04:55.217Z","repository":{"id":191512313,"uuid":"623518439","full_name":"Aatrick/Julia_Set","owner":"Aatrick","description":"Python fractal generator based on the julia set","archived":false,"fork":false,"pushed_at":"2025-05-17T20:05:49.000Z","size":8135,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T21:19:05.813Z","etag":null,"topics":["c","fractal-rendering","fractals","matplotlib","matrix","python","rust"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Aatrick.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":"2023-04-04T14:28:41.000Z","updated_at":"2025-05-17T20:05:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"227df9dd-14a8-445d-b190-ada06504f00c","html_url":"https://github.com/Aatrick/Julia_Set","commit_stats":null,"previous_names":["aatrick/julia_set"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Aatrick/Julia_Set","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FJulia_Set","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FJulia_Set/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FJulia_Set/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FJulia_Set/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aatrick","download_url":"https://codeload.github.com/Aatrick/Julia_Set/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aatrick%2FJulia_Set/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261539319,"owners_count":23174135,"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":["c","fractal-rendering","fractals","matplotlib","matrix","python","rust"],"created_at":"2024-12-13T14:19:51.187Z","updated_at":"2025-06-23T19:04:55.203Z","avatar_url":"https://github.com/Aatrick.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Julia Set Explorer\n\nPython fractal generator based on the Julia set with both command-line and graphical user interfaces.\n\n## Overview\n\nThis project provides tools to generate, explore, and animate beautiful Julia set fractals. It features:\n\n- High-performance calculation using Numba JIT compilation\n- Interactive GUI for real-time parameter adjustments\n- Command-line interface for batch processing\n- Support for creating high-resolution images\n- Animation capabilities for creating GIFs\n\n## How It Works\n\nThe Julia set is a fractal named after the French mathematician Gaston Julia. For each point (x,y) in the complex plane, the algorithm applies the formula z = z² + c repeatedly, where c is a complex constant. The number of iterations before z \"escapes\" (exceeds a certain value) determines the color of each pixel.\n\n### Command-Line Interface\n\nThe `julia.py` file can be executed from a terminal to generate Julia set images with various parameters:\n\n![Command Line Interface](https://github.com/Aatrick/Julia_Set/assets/113598245/af520068-b741-4ad2-905f-dab6503a3da5)\n\n### GUI Interface\n\nThe project now features a full graphical interface (`julia_ui.py`) that allows for interactive exploration:\n\n- Real-time updates when changing parameters\n- Zoom and pan functionality\n- Adjustable resolution, iterations, and colormaps\n- Option to save images or create animations\n- Calculation caching for improved performance\n\n![Interactive GUI](ui.png)\n\n## Examples\n\n### Different Resolutions\n\nThe same Julia set (c = -0.8 + 0.16j) at different resolutions:\n\nLow resolution (100x100):\n![100x100](https://github.com/Aatrick/Julia_Set/assets/113598245/3324f05a-7db3-4c25-b2de-9b15d1823499)\n\nHigh resolution (2000x2000):\n![2000x2000](https://github.com/Aatrick/Julia_Set/assets/113598245/57d16ff2-9c50-411e-aad6-e1f07ddedc80)\n\n### Animations\n\nThe generator can create two types of animated GIFs:\n\n1. **Zoom Animation**: Progressively zooms into a part of the fractal\n![Zoom Animation](https://github.com/Aatrick/Julia_Set/assets/113598245/79049b69-3945-4ab6-8410-a20657f8f650)\n\n2. **Parameter Animation**: Shows how changes to the complex constant c affect the fractal\n![Parameter Animation](https://github.com/Aatrick/Julia_Set/assets/113598245/9538663b-d8b7-49dd-89c2-0f312d83af40)\n\n## Installation\n\n1. Clone this repository:\n```\ngit clone https://github.com/Aatrick/Julia_Set.git\n```\n\n2. Install the required dependencies:\n```\npip install -r requirements.txt\n```\n\n## Usage\n\n### Command-Line Interface\n```\npython julia.py\n```\n\n### Graphical Interface\n```\npython julia_ui.py\n```\nOr run the provided batch file:\n```\nrun_julia_ui.bat\n```\n\n## Performance Notes\n\n- The implementation uses Numba for significant performance acceleration\n- Calculations are cached to improve responsiveness when exploring\n- Multi-core processing is utilized for maximum performance\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Fjulia_set","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faatrick%2Fjulia_set","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faatrick%2Fjulia_set/lists"}