{"id":17031520,"url":"https://github.com/halirutan/collatzvisualization","last_synced_at":"2025-07-11T04:38:21.013Z","repository":{"id":53516937,"uuid":"518284268","full_name":"halirutan/CollatzVisualization","owner":"halirutan","description":"Collatz Sequence Visualization with Kotlin and Desktop Compose","archived":false,"fork":false,"pushed_at":"2022-08-08T02:51:12.000Z","size":3846,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T07:21:49.260Z","etag":null,"topics":["compose","kotlin","mathematics","visualization"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/halirutan.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":"2022-07-27T02:38:00.000Z","updated_at":"2025-01-24T09:56:02.000Z","dependencies_parsed_at":"2022-08-13T02:40:36.855Z","dependency_job_id":null,"html_url":"https://github.com/halirutan/CollatzVisualization","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/halirutan%2FCollatzVisualization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halirutan%2FCollatzVisualization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halirutan%2FCollatzVisualization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halirutan%2FCollatzVisualization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halirutan","download_url":"https://codeload.github.com/halirutan/CollatzVisualization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248568575,"owners_count":21126052,"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":["compose","kotlin","mathematics","visualization"],"created_at":"2024-10-14T08:24:29.309Z","updated_at":"2025-04-12T12:41:00.930Z","avatar_url":"https://github.com/halirutan.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collatz Sequence Visualization with Kotlin and Compose Desktop\n\nThis repository contains a dynamic visualization of the Collatz graph using [Kotlin](https://kotlinlang.org/) and \n[Compose Multiplatform](https://www.jetbrains.com/lp/compose-mpp/).\nThe intention is to provide a small but not dead simple example of a complete Compose application.\n\n![Image](images/img.png)\n\nIf you don't know what Collatz sequences are or what is meant by the Collatz graph, just stare at this xkcd for a\nmoment:\n\n![Collatz Conjecture](https://imgs.xkcd.com/comics/collatz_conjecture.png)\n\nBuilding such a graph for many numbers, \ndisplaying them using an [angle path](https://reference.wolfram.com/language/ref/AnglePath.html), and colorizing all\nlines with a [scientific color gradient](https://astron-soc.in/bulletin/11June/289392011.pdf), you will get\na visualization as shown in the first image.\n\n## Running the app\n\nClone the repository and run\n\n```Bash\n./gradlew run\n```\n\nfrom a command line (on Windows it's `gradlew.bat`).\n\nYou can also open the the project in [IntelliJ IDEA](https://www.jetbrains.com/idea/) and it will import everything\nautomatically.\nAfterwards, you can press the \"play\" button that should appear next to \n\n```kotlin\nfun main() = application\n```\n\nin [Main.kt](src/main/kotlin/Main.kt).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalirutan%2Fcollatzvisualization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalirutan%2Fcollatzvisualization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalirutan%2Fcollatzvisualization/lists"}