{"id":28418231,"url":"https://github.com/burnycoder/emergent-complexity","last_synced_at":"2026-01-30T17:30:58.342Z","repository":{"id":286765956,"uuid":"962481156","full_name":"BurnyCoder/emergent-complexity","owner":"BurnyCoder","description":"Interactive generative art visualization where particles move based on the Clifford Attractor and user-adjustable parameters for particle count, trail opacity, repulsion strength/radius, color influence, density threshold, and anti-cluster force, forming complex patterns on a canvas. Made with HTML with Canvas API, Tailwind CSS, JavaScript.","archived":false,"fork":false,"pushed_at":"2025-04-08T09:28:57.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-27T16:48:20.521Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/BurnyCoder.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,"zenodo":null}},"created_at":"2025-04-08T08:11:41.000Z","updated_at":"2025-04-08T09:29:01.000Z","dependencies_parsed_at":"2025-04-08T09:38:10.949Z","dependency_job_id":null,"html_url":"https://github.com/BurnyCoder/emergent-complexity","commit_stats":null,"previous_names":["burnycoder/emergent-complexity"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BurnyCoder/emergent-complexity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Femergent-complexity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Femergent-complexity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Femergent-complexity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Femergent-complexity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BurnyCoder","download_url":"https://codeload.github.com/BurnyCoder/emergent-complexity/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BurnyCoder%2Femergent-complexity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28916069,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":"2025-06-04T09:50:49.276Z","updated_at":"2026-01-30T17:30:58.263Z","avatar_url":"https://github.com/BurnyCoder.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emergent complexity\n\nInteractive generative art visualization where particles move based on the [Clifford Attractor](https://blbadger.github.io/clifford-attractor.html) and user-adjustable parameters for particle count, trail opacity, repulsion strength/radius, color influence, density threshold, and anti-cluster force, forming complex patterns on a canvas. Made with HTML with Canvas API, Tailwind CSS, JavaScript.\n\n![image](https://github.com/user-attachments/assets/d903e76f-bc08-4da2-87ae-5ec306d41d89)\n\nVideo: https://youtu.be/bXrRpF_-TTM\n\n## How to Run\n\nOpen emergent-complexity.html file in browser\n\n## Features\n\n* **Generative Art:** Creates dynamic and complex visual patterns based on mathematical rules and particle interactions.\n* **Clifford Attractor:** Utilizes the Clifford Attractor equations to guide the target positions of particles, creating characteristic fractal-like structures.\n* **Particle System:** Simulates numerous individual particles moving on the canvas.\n* **Interactive Controls:** Allows real-time adjustment of various simulation parameters via UI sliders:\n    * Number of Particles\n    * Trail Opacity (how quickly old positions fade)\n    * Particle Repulsion Strength \u0026 Radius\n    * Color Influence Strength (how much nearby particles affect each other's hue)\n    * Density Threshold \u0026 Anti-Cluster Force (to prevent excessive clumping)\n* **Color Blending:** Particles gradually change their color (hue) based on the colors of their neighbors.\n* **Anti-Clustering:** Implements a force that pushes particles away from areas that become too dense.\n\n## Controls\n\nThe control panel in the top-left corner allows you to manipulate the simulation:\n\n* **Particles:** Adjusts the total number of particles simulated. *Changing this value will reset the simulation.*\n* **Trail Opacity:** Controls the alpha value of the background fill on each frame. Lower values result in longer particle trails; higher values result in shorter trails.\n* **Repulsion:** Sets the strength of the force pushing particles away from each other when they are within the repulsion radius.\n* **Repulsion Radius:** Defines the distance within which particles exert repulsive forces on each other.\n* **Color Influence:** Determines how strongly a particle's target hue is influenced by the hues of its neighbors.\n* **Density Threshold:** Sets the minimum number of neighbors within the `DENSITY_CHECK_RADIUS` required to trigger the anti-cluster force.\n* **Anti-Cluster Force:** Controls the strength of the force pushing particles away from the center of dense clusters.\n* **Reset Simulation Button:** Restarts the simulation with the current parameter settings but new random constants for the Clifford Attractor and new initial particle positions/velocities.\n\n## Potential Improvements\n\n* Make applying the attractor another continuous parameter that the user can play with. \n* Add more attractor types (e.g., De Jong, Peter de Jong).\n* Implement mouse interaction (e.g., attract/repel particles).\n* Optimize performance for a larger number of particles.\n* Add functionality to save the current canvas state as an image.\n* Explore different color mapping strategies.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnycoder%2Femergent-complexity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburnycoder%2Femergent-complexity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburnycoder%2Femergent-complexity/lists"}