{"id":30696772,"url":"https://github.com/jxckgan/mandelbrot-unityapp","last_synced_at":"2025-09-02T08:50:41.934Z","repository":{"id":288156814,"uuid":"502566955","full_name":"jxckgan/Mandelbrot-UnityApp","owner":"jxckgan","description":"An interactive Unity App which uses shaders to render the Mandelbrot Fractal.","archived":false,"fork":false,"pushed_at":"2025-04-15T20:10:26.000Z","size":15216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T21:23:43.461Z","etag":null,"topics":["fractal","mandelbrot","unity","unity3d","unityapp"],"latest_commit_sha":null,"homepage":"","language":"ShaderLab","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/jxckgan.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,"zenodo":null}},"created_at":"2022-06-12T09:04:45.000Z","updated_at":"2025-04-15T20:10:54.000Z","dependencies_parsed_at":"2025-04-15T21:33:49.656Z","dependency_job_id":null,"html_url":"https://github.com/jxckgan/Mandelbrot-UnityApp","commit_stats":null,"previous_names":["jxckgan/mandelbrot-unityapp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jxckgan/Mandelbrot-UnityApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxckgan%2FMandelbrot-UnityApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxckgan%2FMandelbrot-UnityApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxckgan%2FMandelbrot-UnityApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxckgan%2FMandelbrot-UnityApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jxckgan","download_url":"https://codeload.github.com/jxckgan/Mandelbrot-UnityApp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jxckgan%2FMandelbrot-UnityApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273257812,"owners_count":25073532,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","mandelbrot","unity","unity3d","unityapp"],"created_at":"2025-09-02T08:50:38.464Z","updated_at":"2025-09-02T08:50:41.895Z","avatar_url":"https://github.com/jxckgan.png","language":"ShaderLab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003eMandelbrot Explorer\u003c/p\u003e\n\n\u003cimg align=\"right\" width=\"300\" height=\"300\" src=\"https://github.com/JackGannonUK/Mandelbrot-UnityApp/blob/main/assets/mlogo.png\"\u003e\n\n### About\nMandelbrot-UnityApp is an application built in Unity which utilises basic shadertoy scripts. Mandelbrot-UnityApp features a camera controller, allowing you to glide within the Mandelbrot Set.\n\n### Controls\nBelow are the controls for navigating through the program:\n\n - W, A, S, D: Up, Down, Left, Right\n - I: Zoom In\n - O: Zoon Out\n - L: Rotate Left\n - R: Rotate Right\n\nThrough the use of the `Lerp` function in Unity, we have a nice, smooth, navigation experience of the fractal. This is accomplished with the use of:\n\n```cs\n smoothPos = Vector2.Lerp(smoothPos, pos, .03f); // Movement\n smoothScale = Mathf.Lerp(smoothScale, scale, .03f); // Zooming in + out\n smoothAngle = Mathf.Lerp(smoothAngle, angle, .03f); // Rotating\n \n float aspect = (float)Screen.width / (float)Screen.height;\n \n float scaleX = smoothScale;\n float scaleY = smoothScale;\n\n if(aspect \u003e 1f)\n scaleY /= aspect;\n else\n scaleX *= aspect;\n\n mat.SetVector(\"_Area\", new Vector4(smoothPos.x, smoothPos.y, scaleX, scaleY));\n mat.SetFloat(\"_Angle\", smoothAngle);\n```\n\n### Known Issues\n\nZooming is limited, after a certain range the fractal will begin to pixelate and you won't be able to zoom in further.\n\n## Screenshots\n\n\u003cimg align=\"center\" src=\"https://github.com/JackGannonUK/Mandelbrot-UnityApp/blob/main/assets/topview.png\"\u003e\n\u003cimg align=\"center\" src=\"https://github.com/JackGannonUK/Mandelbrot-UnityApp/blob/main/assets/repeats.png\"\u003e\n\u003cimg align=\"center\" src=\"https://github.com/JackGannonUK/Mandelbrot-UnityApp/blob/main/assets/outside.png\"\u003e\n\u003cimg align=\"center\" src=\"https://github.com/JackGannonUK/Mandelbrot-UnityApp/blob/main/assets/branch.png\"\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxckgan%2Fmandelbrot-unityapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjxckgan%2Fmandelbrot-unityapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjxckgan%2Fmandelbrot-unityapp/lists"}