{"id":13568598,"url":"https://github.com/bfollington/fxhash-shadowcljs-template","last_synced_at":"2025-04-04T04:31:27.605Z","repository":{"id":48409456,"uuid":"428479132","full_name":"bfollington/fxhash-shadowcljs-template","owner":"bfollington","description":"quil + shadow-cljs + fxhash generative art","archived":false,"fork":true,"pushed_at":"2021-11-19T11:14:37.000Z","size":48,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-05T00:36:01.426Z","etag":null,"topics":["fxhash","generative-art","quil","shadow-cljs"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"shimmering-void/noire","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bfollington.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":"2021-11-16T01:38:06.000Z","updated_at":"2023-05-01T03:48:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bfollington/fxhash-shadowcljs-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfollington%2Ffxhash-shadowcljs-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfollington%2Ffxhash-shadowcljs-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfollington%2Ffxhash-shadowcljs-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bfollington%2Ffxhash-shadowcljs-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bfollington","download_url":"https://codeload.github.com/bfollington/fxhash-shadowcljs-template/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123072,"owners_count":20887259,"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":["fxhash","generative-art","quil","shadow-cljs"],"created_at":"2024-08-01T14:00:28.893Z","updated_at":"2025-04-04T04:31:22.593Z","avatar_url":"https://github.com/bfollington.png","language":"Clojure","funding_links":[],"categories":["Clojure"],"sub_categories":[],"readme":"# fxhash + shadow-cljs + quil quickstart\n\nA light `shadow-cljs` template to create generative art with [quil](http://quil.info/) for the [fxhash](https://www.fxhash.xyz/) platform. \n\nYou'll need `Java`, `node` and `npm` installed (`yarn` also works). \n\n\u003cimg width=\"1175\" alt=\"Screen Shot 2021-11-16 at 1 56 30 pm\" src=\"https://user-images.githubusercontent.com/5009316/141897043-5bad64cb-a11a-42ae-b519-132a74e3a4ba.png\"\u003e\n\n# Setup + Development\n\n`npm i` or `yarn` to install dependencies\n\n`npm run dev` launches a live-reloading dev environment at `http://localhost:8020/`\n\n### Calva\n\nThis project works with `calva`, make sure to select `shadow-cljs` then check the box next to `:app` and connect to `:app` for your REPL.\n\n### fxhash\n\nThe fxhash host exposes two useful variables, `fxhash` and `fxrand`, which are clojureified in the `starter.fx-hash` namespace as `(fx-hash)` and `(fx-rand)`.\n\nSee the [fxhash guide](https://www.fxhash.xyz/articles/guide-mint-generative-token).\n\nWe also expose a method to register features of your token via `(register-features {:feat-a true})` in the same namespace.\n\n### index.html + main.css\n\nBoth these files (located in the `public/` folder) can be edited freely so long as you preserve the `fxhash` snippet and the filepaths.\n\nIf you rename the root namespace from `starter` make sure to update the call to `starter.quil.init()` in `index.html`.\n\n## Packaging + Release\n\n`npm run release` will build \u0026 package into `fxhash-release.zip`, ready to upload to the site.\n\n## Tips\n\nIt's a regular quil sketch, so refer to the [quil API docs](http://quil.info/api) and the [fxhash guide](https://www.fxhash.xyz/articles/guide-mint-generative-token) for further guidance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfollington%2Ffxhash-shadowcljs-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbfollington%2Ffxhash-shadowcljs-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbfollington%2Ffxhash-shadowcljs-template/lists"}