{"id":21959763,"url":"https://github.com/hexagon6/wave","last_synced_at":"2025-03-22T20:14:35.008Z","repository":{"id":33959107,"uuid":"37690047","full_name":"hexagon6/wave","owner":"hexagon6","description":"A multi-state two dimensional cellular automaton to simulate excitable medium (and more)","archived":false,"fork":false,"pushed_at":"2019-11-23T00:51:19.000Z","size":945,"stargazers_count":3,"open_issues_count":14,"forks_count":0,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-01-28T00:15:14.388Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://waves.fet.li","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/hexagon6.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":"2015-06-18T22:58:47.000Z","updated_at":"2018-10-01T14:01:22.000Z","dependencies_parsed_at":"2022-07-13T16:00:38.782Z","dependency_job_id":null,"html_url":"https://github.com/hexagon6/wave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexagon6%2Fwave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexagon6%2Fwave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexagon6%2Fwave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hexagon6%2Fwave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hexagon6","download_url":"https://codeload.github.com/hexagon6/wave/tar.gz/refs/heads/gh-pages","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245013991,"owners_count":20547181,"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":[],"created_at":"2024-11-29T09:32:34.482Z","updated_at":"2025-03-22T20:14:34.974Z","avatar_url":"https://github.com/hexagon6.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"wave: A multi-state two dimensional cellular automaton to simulate excitable medium (and more)\n==============================================================================================\n\n[![Wave](wave.png)](https://waves.fet.li)\n\nAuthor: Tobi Turing \u003cdev@fet.li\u003e\n\nThis repo contains a web-based editor to play around with cellular automatons.\nOriginally born from the idea to implement a tristate cellular automaton using the Greenberg-Hastings algorithm.\nThis CA can be used to simulate excitable medium (aka \"waves\").\n\nOver time I have added different algorithms such as Game of Life and my own based on random neighborhood.\n\nThere are multiple parameters which can be tweaked, such as:\n\n* algorithms:\n\t* GH: Greenberg-Hastings (default algo)\n    * TT: Tobi Turing (similar to GH, but with random neighborhood)\n    * GoL: Inspired by conway's game of life which by default uses 2 states, but more can be used.\n* states:\n\t* 2 state (used for GoL), 0 represents a dead cell, 1 a cell which is alive\n\t* 3 state (used for GH), 0 is the media in resting state, 1 excited, 2 refractoring\n    * 4+ state (just for fun, try to play with this)\n* neighborhood:\n\t* von Neumann (4 neighbors, in direct cardinal direction)\n\t* Moore (8 neighbors, direct and diagonal)\n    * Combination of von Neumann and Moore (alternates mode between cycles)\n\t* random (actually Moore, but neighbours are chosen randomly)\n\t* Note: neighborhood has a radius attribute, which expands the reach, 1 is default\n* level of detail:\n\t* this parameter defines how many cells are simulated, depending on your hardware it might be really slow:\n\t\t* 1 means 4 cells, so 2^(2*1)\n\t\t* 2 means 16 cells, so 2^(2*2)\n\t\t* n means 2^(2n)\n\t\t* 9 -\u003e 262144 cells might be to much for most CPUs, so by default we use 4 -\u003e 256 fields, this works well even with portable phones\n\nThe matrix canvas is always initiated to have a multiple of 2^2n cells so minimal visual smoothing happens.\n\nEnjoy!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexagon6%2Fwave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhexagon6%2Fwave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhexagon6%2Fwave/lists"}