{"id":21302376,"url":"https://github.com/a11ce/racket-p5","last_synced_at":"2025-03-15T18:43:33.871Z","repository":{"id":45631781,"uuid":"426574788","full_name":"a11ce/racket-p5","owner":"a11ce","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-19T17:03:52.000Z","size":27,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T00:34:19.184Z","etag":null,"topics":["art","racket"],"latest_commit_sha":null,"homepage":"","language":"Racket","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/a11ce.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-11-10T10:15:48.000Z","updated_at":"2024-04-01T15:50:02.000Z","dependencies_parsed_at":"2024-06-21T07:25:09.828Z","dependency_job_id":null,"html_url":"https://github.com/a11ce/racket-p5","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"2f01f98fac2d53da138029f3c6ad688ede608400"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a11ce%2Fracket-p5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a11ce%2Fracket-p5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a11ce%2Fracket-p5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a11ce%2Fracket-p5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a11ce","download_url":"https://codeload.github.com/a11ce/racket-p5/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243776467,"owners_count":20346352,"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":["art","racket"],"created_at":"2024-11-21T15:56:03.375Z","updated_at":"2025-03-15T18:43:33.843Z","avatar_url":"https://github.com/a11ce.png","language":"Racket","funding_links":[],"categories":[],"sub_categories":[],"readme":"# racket-p5\n\nUses [soegaard](https://github.com/soegaard)'s [urlang](https://github.com/soegaard/urlang) compiler to give p5.js Racket-y syntax.\n\n## Setup\n\nRun `raco pkg install p5` or go to `File \u003e Install Package...` in DrRacket and install p5.\n\n## Usage\n\nStart your file with `#lang p5`, then do your best to write p5 code with Racket syntax and it should mostly work how you expect. Also see `examples/`. \n\nRunning your program will display the compiled p5.js sketch. \n\n### Options\n\nCertain top-level expressions (prefixed with `^`) are recognized as language options. They are applied per source file.\n\n- `(^output-file \"filename.js\")` writes the compiled JS to the specified path.\n\n## How it works\n\n`#lang p5` is a wrapper around urlang which:\n- makes urlang think that p5 identifiers are bound\n- adds the needed boilerplate so the user can focus on creating\n- provides some extra options\n\n## Demos\n\n- [space-draw](https://a11ce.com/racket-p5/examples/space-draw/space-draw.html)\n- [Unknown Pleasures](https://a11ce.com/racket-p5/examples/unknown-pleasures/unknown-pleasures.html)\n\u003c!-- Add your own! --\u003e\n\n--- \n\nAll contributions are welcome by pull request or issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa11ce%2Fracket-p5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa11ce%2Fracket-p5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa11ce%2Fracket-p5/lists"}