{"id":21493601,"url":"https://github.com/alienkevin/fractals","last_synced_at":"2025-07-18T10:34:20.248Z","repository":{"id":97740290,"uuid":"196765846","full_name":"AlienKevin/Fractals","owner":"AlienKevin","description":"Recursive graphics including Sierpinski Triangle and Flood Fill","archived":false,"fork":false,"pushed_at":"2019-07-17T21:02:38.000Z","size":2323,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-10T21:47:47.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/AlienKevin.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":"2019-07-13T20:58:14.000Z","updated_at":"2019-08-23T00:53:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ebb9c8f-d667-4ed8-a126-fb1d03634dcc","html_url":"https://github.com/AlienKevin/Fractals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlienKevin/Fractals","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FFractals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FFractals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FFractals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FFractals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlienKevin","download_url":"https://codeload.github.com/AlienKevin/Fractals/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlienKevin%2FFractals/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265742774,"owners_count":23820910,"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":[],"created_at":"2024-11-23T15:43:37.781Z","updated_at":"2025-07-18T10:34:19.672Z","avatar_url":"https://github.com/AlienKevin.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fractals and Graphics\n\nSierpinski triangles and flood fill written in C++ as an assignment for CS106B at Stanford Summer Session 2019.\n\n## Sierpinski triangles\n\nThe **Sierpinski triangle** is a [fractal](https://www.wikiwand.com/en/Fractal) and [attractive fixed set](https://www.wikiwand.com/en/Attractive_fixed_set) with the overall shape of an [equilateral triangle](https://www.wikiwand.com/en/Equilateral_triangle), subdivided [recursively](https://www.wikiwand.com/en/Recursion) into smaller equilateral triangles. ([Wikipedia](https://www.wikiwand.com/en/Sierpi%C5%84ski_triangle))\n\n![Sierpinski triangle example](output/sierpinski-x10-y30-size300-order6.png)\n\n## Flood fill\n\n**Flood fill,** also called **seed fill,** is an [algorithm](https://www.wikiwand.com/en/Algorithm) that determines the area [connected](https://www.wikiwand.com/en/Glossary_of_graph_theory#Connectivity) to a given node in a multi-dimensional [array](https://www.wikiwand.com/en/Array_data_structure). It is used in the \"bucket\" fill tool of [paint programs](https://www.wikiwand.com/en/Paint_program) to fill connected, similarly-colored areas with a different color, and in games such as [Go](https://www.wikiwand.com/en/Go_(game)) and [Minesweeper](https://www.wikiwand.com/en/Minesweeper_(video_game)) for determining which pieces are cleared. ([Wikipedia](https://www.wikiwand.com/en/Flood_fill))\n\n![Flood fill example](output/floodfill-1.png)\n\n# Installation\n\n1. Download or clone this project.\n2. Load this project into Qt Creator.\n3. Build and run in Qt Creator.\n\n# Credits\n\nAssignment by Chris Gregg, Chris Piech, Marty Stepp, and Victoria Kirst. Originally based on a problem by Julie Zelenski and Jerry Cain. Updates by Tyler Conklin. This project uses various libraries from [the Stanford C++ Libraries](http://web.stanford.edu/~stepp/cppdoc/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Ffractals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falienkevin%2Ffractals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falienkevin%2Ffractals/lists"}