{"id":20576537,"url":"https://github.com/divs1210/hastar","last_synced_at":"2026-06-08T16:33:56.561Z","repository":{"id":68118831,"uuid":"155361790","full_name":"divs1210/hastar","owner":"divs1210","description":"WIP: game in Babylon + Cljs","archived":false,"fork":false,"pushed_at":"2018-11-05T05:55:13.000Z","size":744,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-09T00:02:36.910Z","etag":null,"topics":["babylonjs","clojurescript","game"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/divs1210.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":"2018-10-30T09:54:06.000Z","updated_at":"2020-11-14T04:23:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ab75496-e1cf-47dc-b39d-68bf351dff5d","html_url":"https://github.com/divs1210/hastar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/divs1210/hastar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divs1210%2Fhastar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divs1210%2Fhastar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divs1210%2Fhastar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divs1210%2Fhastar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divs1210","download_url":"https://codeload.github.com/divs1210/hastar/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divs1210%2Fhastar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34071656,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":["babylonjs","clojurescript","game"],"created_at":"2024-11-16T05:46:05.496Z","updated_at":"2026-06-08T16:33:56.534Z","avatar_url":"https://github.com/divs1210.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hastar\n\nWIP game in ClojureScript using [BabylonJS](https://www.babylonjs.com/)\n\n## Why\n\nClojure is designed to be a \"hosted\" language. From the [official website](https://clojure.org/):\n\n\u003e Clojure is designed to be a hosted language, sharing the JVM type system, GC, threads etc.\n\nClojureScript is Clojure hosted on JS VMs.\n\nI personally prefer ClojureScript over JS - it is a pleasure to use, and comes with great tooling and libraries.\nWhen I want to do something - such as write a SPA, or draw charts, or communicate over websockets,\nor write state-machines, or even 2D games, there is generally a high-level idiomatic ClojureScript library\navailable for me to use.\n\nGame Engines are some of the most mutation-heavy systems around, and writing games - especially\n3D ones - in functional languages is still a very arcane topic. Sadly, there also appears to be\nno stable, high-level, well-maintained Clojure/Script library for this purpose.\n\nI will talk about my journey of writing a 3D game in Clojure:\n- what choices I made\n- what problems I faced\n- how I solved / worked around them\n- what the game is like right now\n- where I am going with it\n\nI will also demo the game and talk about my experiences, likes/dislikes, and the overall suitability\nof Clojure for a project like this, and how it performed under the stress of working with an inherently\nalien, mutable world.\n\nMostly, I want to find out whether writing \"serious\" 3D games in Clojure is possible and practical,\nand what are the tradeoffs it entails.\n\n## Setup\n\nTo get an interactive development environment run:\n\n    lein figwheel\n\nand open your browser at [localhost:3449](http://localhost:3449/).\nThis will auto compile and send all changes to the browser without the\nneed to reload.\n\n## Build\n\nTo clean all compiled files:\n\n    lein clean\n\nTo create a production build run:\n\n    lein do clean, cljsbuild once min\n\nAnd open your browser in `resources/public/index.html`. You will not\nget live reloading, nor a REPL. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivs1210%2Fhastar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivs1210%2Fhastar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivs1210%2Fhastar/lists"}