{"id":20648689,"url":"https://github.com/megospc/hotf","last_synced_at":"2026-04-29T14:35:19.932Z","repository":{"id":187632300,"uuid":"677277600","full_name":"Megospc/HOTF","owner":"Megospc","description":"Орда Мух (Horde Of The Flies или HOTF) — двумерный клеточный автомат на частицах, моделирующий поведение живых существ в стадах.","archived":false,"fork":false,"pushed_at":"2023-09-15T18:49:18.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-04T08:13:31.734Z","etag":null,"topics":["cellular-automaton","javascript","particles","simulation"],"latest_commit_sha":null,"homepage":"https://megospc.github.io/HOTF/","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/Megospc.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":"2023-08-11T07:06:05.000Z","updated_at":"2023-09-17T16:07:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"c03c602a-5140-47c6-b560-6c379850c3e6","html_url":"https://github.com/Megospc/HOTF","commit_stats":null,"previous_names":["megospc/hoft"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/Megospc/HOTF","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megospc%2FHOTF","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megospc%2FHOTF/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megospc%2FHOTF/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megospc%2FHOTF/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Megospc","download_url":"https://codeload.github.com/Megospc/HOTF/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Megospc%2FHOTF/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32429204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["cellular-automaton","javascript","particles","simulation"],"created_at":"2024-11-16T17:09:59.387Z","updated_at":"2026-04-29T14:35:19.904Z","avatar_url":"https://github.com/Megospc.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Орда Мух\nОрда Мух (Horde Of The Flies или HOTF) — двумерный клеточный автомат на частицах, моделирующий поведение живых существ в стадах.\n\nВерсия реализации: **3.0.4** (15.09.2023)\n\nАвтор правила: **Tamás Vicsek** (1995 год)\n\n## Правила\n### Константы\n**C** — Погрешность\\\n**A** — Количество\\\n**W** — Колебание\\\n**S** — Скорость\\\n**R** — Зона\n\n### Теория\nНа двумерной плоскости находится **A** частиц. Каждая частица (**N**) имеет своё направление движения (**Nd**) и двумерную позицию (**Nx** и **Ny**). Каждый кадр позиция изменяется по формуле:\n```\nNx = Nx+S*cos(Nd);\nNy = Ny+S*sin(Nd);\n```\nНаправление движения меняется каждые **W** кадров на случайное. Также, каждый кадр оно изменяется по формуле:\n```\nc \u003e 0:\n  Nd = a+r;\nc = 0:\n  Nd = Nd;\n```\nГде **c** — количество других частиц в радиусе **R**, **a** — их среднее направление, а **r** — случайное число в диапазоне от **-C/2** до **C/2**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegospc%2Fhotf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmegospc%2Fhotf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmegospc%2Fhotf/lists"}