{"id":15061089,"url":"https://github.com/haerfest/bubble-universe","last_synced_at":"2026-02-01T03:01:41.144Z","repository":{"id":244792188,"uuid":"816275446","full_name":"haerfest/bubble-universe","owner":"haerfest","description":"Bubble Universe in Lua and OCaml","archived":false,"fork":false,"pushed_at":"2024-06-28T20:10:44.000Z","size":2411,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-14T14:41:51.663Z","etag":null,"topics":["bubble-universe","love-framework","lua","ocaml","stardot"],"latest_commit_sha":null,"homepage":"","language":"OCaml","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/haerfest.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":"2024-06-17T12:08:49.000Z","updated_at":"2024-06-28T20:10:47.000Z","dependencies_parsed_at":"2024-06-17T13:51:49.395Z","dependency_job_id":"46889587-8909-4c56-9457-5f66230dd893","html_url":"https://github.com/haerfest/bubble-universe","commit_stats":null,"previous_names":["haerfest/bubble-universe"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/haerfest/bubble-universe","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haerfest%2Fbubble-universe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haerfest%2Fbubble-universe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haerfest%2Fbubble-universe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haerfest%2Fbubble-universe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haerfest","download_url":"https://codeload.github.com/haerfest/bubble-universe/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haerfest%2Fbubble-universe/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28965436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T02:14:24.993Z","status":"ssl_error","status_checked_at":"2026-02-01T02:13:55.706Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bubble-universe","love-framework","lua","ocaml","stardot"],"created_at":"2024-09-24T23:09:08.288Z","updated_at":"2026-02-01T03:01:40.915Z","avatar_url":"https://github.com/haerfest.png","language":"OCaml","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bubble Universe\n\nImplementation of Bubble Universe in:\n\n- [Lua](https://www.lua.org) with [LÖVE](https://www.love2d.org).\n- [OCaml](https://ocaml.org) with [ocamlsdl2](https://ocaml.org/p/ocamlsdl2/latest).\n\nSee [this StarDot thread](https://www.stardot.org.uk/forums/viewtopic.php?t=25833) for context.\n\nThe Lua version is somewhat interactive, letting you generate alternative universes or patterns. The OCaml version displays just the default universe.\n\nInteraction in the Lua version:\n\n- `escape` exits.\n- `1` and `2` change the number of objects `n` by one. Keep `shift` pressed for steps of 50.\n- `3` and `4` do the same for the number of particles per object `m`.\n- `space` resets everything to the default universe.\n- `a` changes to an interesting figure.\n- Click the mouse in the figure to set the starting angles `rx` and `ry` between -2π and +2π.\n\nIn the top-left corner the current frame rate is shown, as well as the current values of `n`, `m`, `rx` and `ry`.\n\nSome images:\n\n![Original universe](images/1.png)\n![A random alternative](images/2.png)\n![A random alternative](images/3.png)\n![A random alternative](images/4.png)\n![A random alternative](images/5.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaerfest%2Fbubble-universe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaerfest%2Fbubble-universe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaerfest%2Fbubble-universe/lists"}