{"id":17141468,"url":"https://github.com/iskandr/contamination","last_synced_at":"2026-02-18T12:33:54.247Z","repository":{"id":80112991,"uuid":"438432696","full_name":"iskandr/contamination","owner":"iskandr","description":null,"archived":false,"fork":false,"pushed_at":"2021-12-17T19:18:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-10-24T12:03:09.947Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/iskandr.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":"2021-12-14T23:32:50.000Z","updated_at":"2022-02-13T06:18:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"7931145d-d1dc-4335-a00b-44aae77f3c08","html_url":"https://github.com/iskandr/contamination","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iskandr/contamination","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcontamination","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcontamination/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcontamination/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcontamination/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iskandr","download_url":"https://codeload.github.com/iskandr/contamination/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iskandr%2Fcontamination/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29579070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T08:38:15.585Z","status":"ssl_error","status_checked_at":"2026-02-18T08:38:14.917Z","response_time":162,"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":[],"created_at":"2024-10-14T20:25:30.095Z","updated_at":"2026-02-18T12:33:49.237Z","avatar_url":"https://github.com/iskandr.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# contamination\n\nA series of little experiments in agent-based modeling for digital art. \nThe premise of this project is to simulate bacterial growth in an agar dish\nwhile implementing some of the rules of perspective from drawing/painting\nwithin the rule system of the growth/death/secretion of the bacteria. \n\n## Repository organization\n\nRight now I'm just learning [p5js](https://p5js.org/examples/) and the canvas API while also playing with very simple \nbacterial growth rules. Each experiment is a self-contained HTML file containing\na link to the p5 minified source and an animation or drawing script\nwhich uses it. For now these are just getting sequentially numbered \nand placed in the `experiments` subdirectory. Eventually we'll want to zoom in on specific aspects beyond\njust having a sequentially numbered list of experiments and later we'll\nwant to assemble an actual complex and compositionally appealing script\nfor Art Blocks.\n\n## Rules of perspective\n\nAnnie's summary of rules learned in Jay Stuckey's drawing class: \n\n| Foregoround              | Background              |\n| ------------------------ | ----------------------- |\n| Crisp \u0026 clear            | Blurry                  |\n| Saturated (\u0026 more red)   | More gray (or blue)     |\n| Bigger                   | Smaller                 |\n| Objects farther apart    | Objects closer together |\n| In front                 | Behind                  |\n| More marks               | Fewer marks             |\n| Heavier lines            | Lighter lines           |\n| Usually near bottom      | Higher or closer to horizon |\n\n\n## Ideas\n\n* Create more complex shapes rather than just expanding blobs using rules that imitate multicellular-like behavior from bacterial \"quorom sensing\", raft formation, or [swaming motility](https://en.wikipedia.org/wiki/Swarming_motility)\n* Horizon can be a diffusing chemical from the top of the canvas\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Fcontamination","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiskandr%2Fcontamination","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiskandr%2Fcontamination/lists"}