{"id":18341360,"url":"https://github.com/hamoid/p5livecoding","last_synced_at":"2025-10-08T16:36:25.451Z","repository":{"id":8406149,"uuid":"9989123","full_name":"hamoid/p5liveCoding","owner":"hamoid","description":"JavaScript code for live coding using the LightTable code editor","archived":false,"fork":false,"pushed_at":"2013-06-26T00:48:34.000Z","size":180,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-09T20:50:25.635Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/hamoid.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":"2013-05-10T19:49:19.000Z","updated_at":"2024-04-26T01:56:11.000Z","dependencies_parsed_at":"2022-07-29T23:19:23.112Z","dependency_job_id":null,"html_url":"https://github.com/hamoid/p5liveCoding","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hamoid/p5liveCoding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2Fp5liveCoding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2Fp5liveCoding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2Fp5liveCoding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2Fp5liveCoding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hamoid","download_url":"https://codeload.github.com/hamoid/p5liveCoding/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hamoid%2Fp5liveCoding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278978908,"owners_count":26079370,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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":[],"created_at":"2024-11-05T20:26:28.275Z","updated_at":"2025-10-08T16:36:25.413Z","avatar_url":"https://github.com/hamoid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"p5liveCoding\n============\n\nLive coding with Processing.js and the LightTable editor.\nhttp://www.lighttable.com/\n\nDocumentation is currently missing, and without documentation\nthere's not much you can do with these files. I plan to fix\nthis soon, and make some video tutorials to explain what I'm\ntrying to do and how far did I get.\n\nVery briefly, this is an attempt to do live coding using Processing.js.\nI chose PJS because I know Processing well, but this should work with\nother JavaScript graphic libraries.\n\nbase/ is the minimal code to load in Chrome or Firefox. You should have\nthe console open. There you can reference the Processing API using\nthe p variable. You can type p.ellipse(p.width, p.height, 100, 100) for example.\nRemeber to add p. to every call to the API. It's very easy to forget that.\nThis is a very primitive approach, and one can not get very far by\ntyping drawing commands in the console.\n\nattempt01/ is my first attempt to create a layer system to allow adding\nand removing things from the stage. This is already better than raw\ndrawing, because if you store functions as layers, you can later delete them,\nwhich is a good thing. You can still run this on Chrome or Firefox.\n\nattempt02/ should be run in LightTable, because it allows evaluating\nchunks of code multiple times by pressing CTRL+ENTER.\nThe included FADE function allows to fade properties (a color for example)\ninstead of changing them suddenly. This starts to become interesting.\n\nattempt03/ is the most developed version. It includes some JavaScript tools\ninside p5liveCoding.js, and code to be evaluated during a performance\ninside live.js. The tools include a layer system, an event looper, some\nnumber generators, an envelope system, and the variable fader.\nThese tools are an attempt to develop a language that could allow me to\nbe more expressive live coding. Raw drawing is very limited, but having\ntools to delay events, repeat them, fade properties, etc. could be\nenough to write code live and make something good enough.\n\nI'll give more details soon.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamoid%2Fp5livecoding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhamoid%2Fp5livecoding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhamoid%2Fp5livecoding/lists"}