{"id":13460160,"url":"https://github.com/mcombeau/fract-ol","last_synced_at":"2025-03-24T18:33:12.661Z","repository":{"id":172208247,"uuid":"477032940","full_name":"mcombeau/fract-ol","owner":"mcombeau","description":"One of the first graphical projects at 42 school, fract-ol introduces us to 2D programming with fractal generation.","archived":true,"fork":false,"pushed_at":"2024-11-30T15:11:04.000Z","size":5567,"stargazers_count":25,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-30T16:23:05.087Z","etag":null,"topics":["42","42born2code","42cursus","42paris","42projects","42school","c","fract-ol","fract-ol-42","fractal-algorithms","fractal-geometry","fractal-images","fractal-rendering","fractals","fractol","fractol-42","hexadecimal-color"],"latest_commit_sha":null,"homepage":"https://www.codequoi.com/","language":"C","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/mcombeau.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":"2022-04-02T11:21:04.000Z","updated_at":"2024-11-30T15:11:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"1683d587-ce70-4934-9490-5650470983c0","html_url":"https://github.com/mcombeau/fract-ol","commit_stats":null,"previous_names":["mcombeau/fract-ol"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcombeau%2Ffract-ol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcombeau%2Ffract-ol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcombeau%2Ffract-ol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcombeau%2Ffract-ol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcombeau","download_url":"https://codeload.github.com/mcombeau/fract-ol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245328506,"owners_count":20597435,"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":["42","42born2code","42cursus","42paris","42projects","42school","c","fract-ol","fract-ol-42","fractal-algorithms","fractal-geometry","fractal-images","fractal-rendering","fractals","fractol","fractol-42","hexadecimal-color"],"created_at":"2024-07-31T10:00:36.631Z","updated_at":"2025-03-24T18:33:12.636Z","avatar_url":"https://github.com/mcombeau.png","language":"C","funding_links":[],"categories":["WELCOME"],"sub_categories":["**Fract-ol**"],"readme":"# fract-ol\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/mcombeau/mcombeau/blob/main/42_badges/fract-ole.png\" alt=\"Fract'ol fract-ol 42 project badge\"/\u003e\n\u003c/p\u003e\n\nOne of the first graphical projects at 42 school, fract-ol generates beautiful fractals from the complex numbers of an iterative mathematical construct. A fractal is a fragmented geometrical figure that infinitely repeats itself at smaller scales. This project uses the school's graphical library, MiniLibX.\n\n\u003e This project has been archived in the state it was in at the time of evaluation.\n\n![Fract-ol mono-colored Mandelbrot by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Mandelbrot.png)\n\n\n# Status\n\nFinished: 22/04/2022.\n\nGrade: 125%.\n\n# Usage\n\n---\n\nNote that this project was tested on Linux only. It may run on MacOS with small adjustments to the Makefile, as described in hsmits and jvan-sni's [42 Docs](https://harm-smits.github.io/42docs/libs/minilibx/getting_started.html).\n\n---\n\n## Installing and Compiling Fract-ol\n\nClone the repository, including the embedded MiniLibX repository:\n```shell\ngit clone https://github.com/mcombeau/fract-ol.git \u0026\u0026 cd fract-ol \u0026\u0026 git submodule init \u0026\u0026 git submodule update\n```\n\nYou will now be in the correct directory for compilation. Compile with ```make```. Fract-ol should now be ready!\n\n## Executing Fract-ol\n\nAt execution time, you must specify a fractal to display. You may also provide other optional parameters:\n\n```shell\n./fractol \u003ctype\u003e \u003coptions\u003e\n```\n\nTypes are :\n* ```M```, ```m```, or ```1```: Mandelbrot fractal\n* ```J```, ```j```, or ```2```: Julia fractal\n* ```B```, ```b```, or ```3```: Burning Ship fractal\n* ```T```, ```t```, or ```4```: Tricorn fractal\n* ```X```, ```x```, or ```5```: Mandelbox fractal\n\nFor the Julia fractal set (and only this set), two additional parameters can be specified as calculation values. These represent a complex number that will change the shape of the Julia fractal. They must be fractional numbers between 2.0 and -2.0. For example:\n\n```shell\n./fractol J 0.285 -0.01\n```\n\nAdditionally, you may specify a hexadecimal color for the fractal display:\n\n```shell\n./fractol M 00CCFF\n```\n\nPlease note that for the Julia set, the color option will only be available after specifying calculation values:\n\n```shell\n./fractol J -0.4 0.6 65CD87\n```\n\n## Fract-ol Controls\n\nWhile Fractol is running, the following set of controls are available:\n\n\u003ctable\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003cstrong\u003eControls\u003c/strong\u003e\u003c/td\u003e\u003ctd\u003e\u003cstrong\u003eAction\u003c/strong\u003e\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;W\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;A\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;S\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;D\u0026nbsp;\u003c/kbd\u003e or \u003ckbd\u003e\u0026nbsp;▲\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;◄\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;▼\u0026nbsp;\u003c/kbd\u003e\u003ckbd\u003e\u0026nbsp;►\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\u003ctd\u003eMove\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;-\u0026nbsp;\u003c/kbd\u003e, \u003ckbd\u003e\u0026nbsp;+\u0026nbsp;\u003c/kbd\u003e or \u003ckbd\u003e\u0026nbsp;scroll wheel\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\u003ctd\u003eZoom in and out\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;space\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\u003ctd\u003eChange color scheme\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;left click\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\u003ctd\u003eShift Julia set [Julia only]\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;1\u0026nbsp;\u003c/kbd\u003e, \u003ckbd\u003e\u0026nbsp;2\u0026nbsp;\u003c/kbd\u003e, \u003ckbd\u003e\u0026nbsp;3\u0026nbsp;\u003c/kbd\u003e, \u003ckbd\u003e\u0026nbsp;4\u0026nbsp;\u003c/kbd\u003e, or \u003ckbd\u003e\u0026nbsp;5\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\u003ctd\u003eSwitch fractals\u003c/td\u003e\u003c/tr\u003e\n  \u003ctr\u003e\u003ctd\u003e\u003ckbd\u003e\u0026nbsp;esc\u0026nbsp;\u003c/kbd\u003e or close window\u003c/td\u003e\u003ctd\u003eQuit fract-ol\u003c/td\u003e\u003c/tr\u003e\n\u003c/table\u003e\n\n# Screenshots\n\n## Mandelbrot set\n\n![Fract-ol purple and yellow striped Mandelbrot by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Mandelbrot-2.png)\n![Fract-ol red bllue and green striped Mandelbrot by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Mandelbrot-3.png)\n![Fract-ol sun crest purple Mandelbrot by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Mandelbrot-4.png)\n\n## Julia set\n\n![Fract-ol purple green and yellow Julia by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Julia.png)\n![Fract-ol red swirl Julia by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Julia-2.png)\n![Fract-ol blue snowflake Julia by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Julia-3.png)\n\n## Burning ship set\n\n![Fract-ol golden burning ship by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Burning-Ship.png)\n\n## Mandelbox set\n\n![Fract-ol brown tribal Mandelbox by mcombeau](https://github.com/mcombeau/fract-ol/blob/main/screenshots/Fractol-Mandelbox.png)\n\n---\nMade by mcombeau: mcombeau@student.42.fr | LinkedIn: [mcombeau](https://www.linkedin.com/in/mia-combeau-86653420b/) | Website: [codequoi.com](https://www.codequoi.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcombeau%2Ffract-ol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcombeau%2Ffract-ol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcombeau%2Ffract-ol/lists"}