{"id":22044723,"url":"https://github.com/607011/applecore","last_synced_at":"2026-04-13T22:04:26.105Z","repository":{"id":265248788,"uuid":"895567378","full_name":"607011/AppleCore","owner":"607011","description":"Deeply zoom into the Mandelbrot set and create videos from your journey","archived":false,"fork":false,"pushed_at":"2024-12-19T19:08:55.000Z","size":396,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T14:14:03.525Z","etag":null,"topics":["cplusplus","cplusplus-17","image-generation","mandelbrot","mandelbrot-renderer","opencv","opencv4","video","yaml"],"latest_commit_sha":null,"homepage":"","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/607011.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":"2024-11-28T12:59:20.000Z","updated_at":"2025-02-20T08:17:13.000Z","dependencies_parsed_at":"2024-11-28T14:41:55.043Z","dependency_job_id":null,"html_url":"https://github.com/607011/AppleCore","commit_stats":null,"previous_names":["607011/applecore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2FAppleCore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2FAppleCore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2FAppleCore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/607011%2FAppleCore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/607011","download_url":"https://codeload.github.com/607011/AppleCore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245111946,"owners_count":20562512,"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":["cplusplus","cplusplus-17","image-generation","mandelbrot","mandelbrot-renderer","opencv","opencv4","video","yaml"],"created_at":"2024-11-30T13:07:43.770Z","updated_at":"2026-04-13T22:04:26.039Z","avatar_url":"https://github.com/607011.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AppleCore\n\n**Deeply zoom into the Mandelbrot set and automatically create videos from your journey**\n\nThis software generates a series of images around a given center point of the Mandelbrot set and saves them to image files, e.g. PNG or JPG. Because it calculates with arbitrary precision floating-point numbers, theoretically any zoom level is possible.\n\n### Prerequisites\n\n### Ubuntu Linux 22.04\n\n```\napt install \\\n  libgmp-dev \\\n  libx11-dev \\\n  libxrandr-dev \\\n  libxcursor-dev \\\n  libfreetype-dev \\\n  libudev-dev \\\n  libflac-dev \\\n  libgl-dev\n```\n\n## Build\n\n\n### macOS, Linux\n\n```bash\ngit clone https://github.com/607011/AppleCore.git\ncd AppleCore\nmkdir build\ncd build\ncmake -DCMAKE_BUILD_TYPE=Release ..\ncmake --build .\n```\n\n## Run\n\n```bash\n./mandelbrot config.yaml\n```\n\nconfig.yaml contains the configuration for your journey:\n\n- `width` and `height`: the size of the resulting images.\n- `zoom`: the zoom range. In each iteration the zoom is multiplied by `factor`, then `increment` is added to the result.\n- `out_file`: template for the names of the images files generated; `%z` will be replaced by a 6-digit sequence number.\n- `center`: the real (`r`) and imaginary (`i`) part of the center point of the images\n- `palette`: a series of comma-separated RGB values to colorize the generated images; default is a grayscale palette [0–255].\n\n```yaml\nwidth: 3840\nheight: 2160\nzoom:\n  from: 0.5\n  to: 10000\n  factor: 1.1\n  increment: 0\nout_file: mandelbrot-%z.png\ncenter:\n  r: 0.25041256420084111635701059145359920563610567033825287726745220758979353221647098362292311491423201419124855889664791486802053514372495353184361382776108352724063135779957032143020010594904114445020489572866810435489590208032\n  i: 0.00001271208042916202422432592307682294230943345688139118046259628555161099396571222351815779936411578902341792926856777472930106023932290150278193914336807532076818902748428279181727568041854049799687884398478342390628980752\npalette:\n  - 66, 30, 15\n  - 25, 7, 26\n  - 9, 1, 47\n  - 4, 4, 73\n  - 0, 7, 100\n  - 12, 44, 138\n  - 24, 82, 177\n  - 57, 125, 209\n  - 134, 181, 229\n  - 211, 236, 248\n  - 241, 233, 191\n  - 248, 201, 95\n  - 255, 170, 0\n  - 204, 128, 0\n  - 153, 87, 0\n  - 106, 52, 3\n```\n\n## Postprocess\n\nWhen `mandelbrot` has completed the generation of the image files, you can combine them into a video with the aid of FFMpeg, for instance:\n\n```bash\nffmpeg -y -framerate 60 \\\n  -start_number 0 -i \"mandelbrot-%06d.png\" \\\n  -c:v libx264 -pix_fmt yuv420p \\\n  journey.mp4\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F607011%2Fapplecore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F607011%2Fapplecore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F607011%2Fapplecore/lists"}