{"id":20656772,"url":"https://github.com/bensouchet/fractol","last_synced_at":"2025-04-19T12:26:33.494Z","repository":{"id":49325237,"uuid":"57893722","full_name":"BenSouchet/fractol","owner":"BenSouchet","description":"School Project - Graphic - Fractals Explorer","archived":false,"fork":false,"pushed_at":"2017-03-26T15:15:08.000Z","size":205,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T02:57:53.174Z","etag":null,"topics":["fractal","fractol","hsv","julia","julia-fractal","mandelbrot","mandelbrot-fractal","school42"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BenSouchet.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}},"created_at":"2016-05-02T13:51:54.000Z","updated_at":"2024-03-12T20:13:05.000Z","dependencies_parsed_at":"2022-08-29T22:32:00.134Z","dependency_job_id":null,"html_url":"https://github.com/BenSouchet/fractol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSouchet%2Ffractol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSouchet%2Ffractol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSouchet%2Ffractol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BenSouchet%2Ffractol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BenSouchet","download_url":"https://codeload.github.com/BenSouchet/fractol/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224951759,"owners_count":17397458,"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":["fractal","fractol","hsv","julia","julia-fractal","mandelbrot","mandelbrot-fractal","school42"],"created_at":"2024-11-16T18:17:13.508Z","updated_at":"2024-11-16T18:17:14.070Z","avatar_url":"https://github.com/BenSouchet.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fractol\n\nFractol is a program developed for my learning course at 42 school for the exploration of Fractals.\n\u003cimg align=\"center\" src=\"http://i.imgur.com/SRtIgLN.png\" width=\"100%\" /\u003e\nSeveral options are available (see [Keyboard shortcuts](https://github.com/BenjaminSouchet/Fractol#keyboard-shortcuts) or/and [Mouse controls](https://github.com/BenjaminSouchet/Fractol#mouse-controls) sections for more infos) :\n* Zoom and unzoom\n* Change the number of iterations\n* Move the current fractal\n* Rotate by step of 90°\n* Edit the display gradient\n* Navigate between the three fractals\n* Edit the shape of the fractal with the position of the mouse (only available with the fractal Julia)\n\n## Install \u0026 launch\n```bash\ngit clone https://github.com/BenjaminSouchet/Fractol ~/Fractol\ncd ~/Fractol \u0026\u0026 ./fractol Julia\n```\nYou have to launch the program with a parameter. This is the name of the fractal you would like to open at the execution of the program. This parameter as to be the name of a valid fractal (Julia, Mandelbrot or Tricorn).\u003cbr /\u003e\n\nExample :\n\nOpen the Mandelbrot fractal ⇣\n```bash\n./fractol Mandelbrot\n```\n## Keyboard shortcuts\n\n\u003ctable width=\"100%\"\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003ctd width=\"65%\" height=\"60px\" align=\"center\" cellpadding=\"0\"\u003e\n\u003cstrong\u003eDescription\u003c/strong\u003e\n\u003c/td\u003e\n\u003ctd width=\"10%\" align=\"center\" cellpadding=\"0\"\u003e\n\u003cspan style=\"width:70px\"\u003e\u0026nbsp;\u003c/span\u003e\u003cstrong\u003eKey(s)\u003c/strong\u003e\u003cspan style=\"width:50px\"\u003e\u0026nbsp;\u003c/span\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eClose the program (aka quit/exit)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;esc\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eReset all the changes made for this map\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;clear\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eChange the display gradient (aka change color)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;shift\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eEnable or disable the mouse controls\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;M\u0026nbsp;\u003c/kbd\u003e or \u003ckbd\u003e\u0026nbsp;S\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eIncrease the global size of the fractal (aka zoom)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;+\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDecrease the global size of the fractal (aka unzoom)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;-\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eMove the fractal to the up (aka move up)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;▲\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eMove the fractal to the down (aka move down)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;▼\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eMove the fractal to the left (aka width move left)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;◄\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eMove the fractal to the right (aka move right)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;►\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eIncrease the number of iterations\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;W\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDecrease the numbre of iterations\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;Q\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eClockwise rotation on the Z axe\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;T\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eCounter clockwise rotation on the Z axe\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;R\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDisplay the Julia fractal\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;1\u0026nbsp;\u003c/kdb\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDisplay the Mandelbrot fractal\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;2\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDisplay the Tricorn fractal\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;3\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Mouse controls\n\n\u003ctable width=\"100%\"\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003ctd width=\"60%\" height=\"60px\" align=\"center\" cellpadding=\"0\"\u003e\n\u003cstrong\u003eDescription\u003c/strong\u003e\n\u003c/td\u003e\n\u003ctd width=\"10%\" align=\"center\" cellpadding=\"0\"\u003e\n\u003cspan style=\"width:70px\"\u003e\u0026nbsp;\u003c/span\u003e\u003cstrong\u003eControl(s)\u003c/strong\u003e\u003cspan style=\"width:50px\"\u003e\u0026nbsp;\u003c/span\u003e\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eIncrease the global size of the fractal at the position of the cursor\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;left button\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDecrease the global size of the fractal at the position of the cursor\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;right button\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eIncrease the global size of the fractal (aka zoom)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;scroll up\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd valign=\"top\" height=\"30px\"\u003eDecrease the global size of the fractal (aka unzoom)\u003c/td\u003e\n\u003ctd valign=\"top\" align=\"center\"\u003e\u003ckbd\u003e\u0026nbsp;scroll down\u0026nbsp;\u003c/kbd\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Contact \u0026 contribute\n\nIf you want to contact me, or fix/improve Fractol, just send me a mail at **bsouchet@student.42.fr**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensouchet%2Ffractol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbensouchet%2Ffractol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbensouchet%2Ffractol/lists"}