{"id":25311702,"url":"https://github.com/rogeriols/fractol-42sp","last_synced_at":"2025-04-07T12:20:18.189Z","repository":{"id":208121195,"uuid":"720848176","full_name":"RogerioLS/Fractol-42sp","owner":"RogerioLS","description":"One of the first graphical projects at 42 school, fract-ol introduces us to 2D programming with fractal generation.","archived":false,"fork":false,"pushed_at":"2025-02-01T18:46:19.000Z","size":5281,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T14:53:40.475Z","etag":null,"topics":["42","42projects","42school","c","fractal-algorithms","fractal-images","fractals","fractol","fractol-julia","fractol-maldelbrot","fractol-tricorn","hexadecimal-color"],"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/RogerioLS.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-11-19T19:26:59.000Z","updated_at":"2025-02-01T18:46:24.000Z","dependencies_parsed_at":"2025-02-01T19:36:46.921Z","dependency_job_id":null,"html_url":"https://github.com/RogerioLS/Fractol-42sp","commit_stats":null,"previous_names":["rogeriols/fractol-42sp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RogerioLS%2FFractol-42sp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RogerioLS%2FFractol-42sp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RogerioLS%2FFractol-42sp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RogerioLS%2FFractol-42sp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RogerioLS","download_url":"https://codeload.github.com/RogerioLS/Fractol-42sp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648974,"owners_count":20972945,"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","42projects","42school","c","fractal-algorithms","fractal-images","fractals","fractol","fractol-julia","fractol-maldelbrot","fractol-tricorn","hexadecimal-color"],"created_at":"2025-02-13T14:53:41.302Z","updated_at":"2025-04-07T12:20:18.166Z","avatar_url":"https://github.com/RogerioLS.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align = center\u003e\n\n# :clipboard: Fractol | 42 SP\n\n![Norminette](https://github.com/RogerioLS/Fractol-42sp/actions/workflows/norminette.yml/badge.svg)\n![Build](https://github.com/RogerioLS/Fractol-42sp/actions/workflows/build.yml/badge.svg)\n![Static Badge](https://custom-icon-badges.demolab.com/badge/FRACTOL-42-blue?logo=repo)\n![42 São Paulo](https://custom-icon-badges.demolab.com/badge/42-SP-1E2952)\n![License](https://custom-icon-badges.demolab.com/github/license/RogerioLS/Fractol-42sp?logo=law\u0026color=dark-green)\n![Code size in bytes](https://custom-icon-badges.demolab.com/github/languages/code-size/RogerioLS/Fractol-42sp?logo=file-code\u0026color=dark-green)\n![Top language](https://custom-icon-badges.demolab.com/github/languages/top/RogerioLS/Fractol-42sp?color=dark-green)\n![Last commit](https://custom-icon-badges.demolab.com/github/last-commit/RogerioLS/Fractol-42sp?logo=history\u0026color=dark-green)\n![Repo size](https://custom-icon-badges.demolab.com/github/repo-size/RogerioLS/Fractol-42sp?logo=database)\n![Languages](https://custom-icon-badges.demolab.com/github/languages/count/RogerioLS/Fractol-42sp?logo=command-palette\u0026color=red)\n![GitHub repo file count (file type)](https://custom-icon-badges.demolab.com/github/directory-file-count/RogerioLS/Fractol-42sp%2Fsources?logo=file\u0026label=files%20sources\u0026color=8602b1)\n![Discord](https://custom-icon-badges.demolab.com/discord/1114673462859006044?\u0026logo=comments\u0026label=testemunhas%20de%20vim\u0026color=ffbe3a)\n![](https://img.shields.io/github/forks/RogerioLS/Fractol-42sp)\n\n\u003c/div\u003e\n\n---\n\n\u003cdiv align = center\u003e\n\n![](https://game.42sp.org.br//static/assets/achievements/fract-olm.png)\n\n\u003c/div\u003e\n\n- Actual Status : finished.\n- Result        : Approved with 120 points ✅\n\n## 📜 About Project\n\n\u003e One of the first graphical projects at 42 School, fract-ol generates beautiful fractals from the complex numbers of \\\n\u003e an iterative mathematical construct. A fractal is a fragmented geometrical figure that infinitely repeats itself at \\\n\u003e smaller scales. This project uses the school's graphical library, MiniLibX.\n\nFor detailed information, refer to the [**subject of this project**](README_files/fractol_subject.pdf).\n\n\t🚀 TLDR: The fract-ol project is one of the three \"beginner\" graphical projects of the \n \t\t cursus. It teaches you about using graphic library, advanced math, and more.\n\n## 📑 Fractals List\n\nThe program supports these fractal sets:\n\n| Name              | Formula                                                                                            |\n|:-----------------:|:--------------------------------------------------------------------------------------------------:|\n| Mandelbrot        | $z_{n+1} = z_n^2 + c, z_0 = 0$                                                                     |\n| Julia             | $z_{n+1} = z_n^2 + c, z_0 = c$                                                                     |\n\n## 🎮 Controls\n\nThe program supports the following controls:\n\n| Key           | Description                             |\n|:-------------:|:---------------------------------------:|\n| ESC           | Close the program window                |\n| Mouse Scroll  | Zoom in and out of the fractal          |\n| ⬆️ ⬇️ ⬅️ ➡️     | Change the viewpoint                    |\n\n## 👨‍💻 Usage\n### Requirements\n\nThe program is written in C language and thus needs the **gcc compiler** and some standard **C libraries** to run.\n\n### Instructions\n\n**1. Compiling the program**\n\nTo compile the program, run:\n\n```shell\n$ git clone https://github.com/RogerioLS/Fractol-42sp/tree/main \u0026\u0026 cd Fractol-42sp \u0026\u0026 make\n```\n\n**2. How to run the program**\n\nRun the executable too see the help message:\n```shell\n./fractol\n\nPlease enter: \n        \"./fractol mandelbrot\" or \n        \"./fractol tricorn\" or \n        \"./fractol julia 0.285 +0\" \n        \"./fractol julia 0.285 +0.01\" \n        \"./fractol julia 0.45 +0.1428\" \n        \"./fractol julia -0.835 -0.232\" \n        \"./fractol julia −0.7269 +0.1889\" \n        \"./fractol julia 0.35 +0.35\" \n        \"./fractol julia 0.4 +0.4\"\n```\n\n\u003e [!NOTE]  \n\u003e Because of 42 School norm requirements:\n\u003e * Each function can't have more than 25 lines of code.\n\u003e * All variables are declared and aligned at the top of each function.\n\u003e * Project should be created just with allowed functions otherwise it's cheating.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogeriols%2Ffractol-42sp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frogeriols%2Ffractol-42sp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frogeriols%2Ffractol-42sp/lists"}