{"id":21486229,"url":"https://github.com/hardcode3/fractals","last_synced_at":"2025-07-18T10:35:22.199Z","repository":{"id":170773048,"uuid":"555990503","full_name":"Hardcode3/Fractals","owner":"Hardcode3","description":"c++ console app to create fractal images","archived":false,"fork":false,"pushed_at":"2023-09-12T21:56:53.000Z","size":1825,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T10:12:07.951Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/Hardcode3.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":"2022-10-22T20:17:50.000Z","updated_at":"2023-01-20T17:48:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa51301f-0e8c-438c-a504-4efa3c817111","html_url":"https://github.com/Hardcode3/Fractals","commit_stats":null,"previous_names":["hardcode3/fractals"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Hardcode3/Fractals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FFractals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FFractals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FFractals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FFractals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Hardcode3","download_url":"https://codeload.github.com/Hardcode3/Fractals/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Hardcode3%2FFractals/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742872,"owners_count":23820925,"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":[],"created_at":"2024-11-23T13:20:01.027Z","updated_at":"2025-07-18T10:35:22.178Z","avatar_url":"https://github.com/Hardcode3.png","language":"C++","readme":"# Mandelbrot and Julia fractal image generator\n![mandelbrot_image_rgb](assets/color_sample.jpg)\n![julia_image_rgb](assets/julia_sample.jpg)\n![mandelbrot_bnw_image](assets/presentation.jpg)\n![julia_symmetry_6_image](assets/julia_symmetry_6.jpg)\n\n## Description\nFractals is a console application to create [fractal](https://en.wikipedia.org/wiki/Fractal) images.\nIt uses the .bmp format as output.\nCompiles every time the program has to output an image.\nSupports both [Mandelbrot](https://en.wikipedia.org/wiki/Mandelbrot_set) and [Julia](https://en.wikipedia.org/wiki/Julia_set) sets.\n\n## Install\n### Pre-compiled executable\nIf you do not want to compile windows binaries, you can use the [release executable](fractals.exe).\n\n### Dependencies\nThere is no dependency.\nBMP format can only be read on Windows, or either on [VsCode](https://code.visualstudio.com/) or [Atom editor](https://atom.io/) with macOS / linux.\nThis format has also the inconvenient to produce very heavy files on the disk (to enhance).\n\n### CMake installation\nMake sure you have CMake installed and inside the clone repo, type:\n```\nmkdir build\ncd build\ncmake ..\ncmake --build .\n```\nor use CMake GUI and create your project with your favourite IDE.\nor use the build-in scripts present in the [scripts folder](scripts).\n\n## Usage\nSimply launch the executable from the command line and some help will appear to guide you through the steps of creating julia or mandelbrot fractals.\n\n![help](assets/help.png)\n\n### Settings\nThe number of iterations controlls the detail of the fractal, see [assets/iteration_effect](assets/iteration_effect). It has an exponential cost on RAM and CPU usage and require mutliple gagabytes of memory to run a high resolution file with iterations per complex number. In addition the output file can also reach multiple gigabytes.\n\n## Known bugs\n- ...\n\n## Improvements\nFuture versions will add:\n- [ ] Add a smoothing option for the contour of the fractal\n- [ ] Add a color options such as black and white, RGB and define color palets\n- [ ] Parallelisation / concurrency to get faster computation speeds\n- [ ] Optimize vectors by allocating them directly their definitive size\n- [ ] Image compression\n- [ ] Other, more common output formats\n- [ ] Maybe a GUI, using ImGui ?\n\n## Performances\n- Bencharking is available in the main.cpp file\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardcode3%2Ffractals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhardcode3%2Ffractals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhardcode3%2Ffractals/lists"}