{"id":19867513,"url":"https://github.com/erkaman/regl-fire","last_synced_at":"2026-03-08T01:34:03.491Z","repository":{"id":141383083,"uuid":"67889796","full_name":"Erkaman/regl-fire","owner":"Erkaman","description":"Fire particle system made with regl","archived":false,"fork":false,"pushed_at":"2016-09-11T06:55:41.000Z","size":2988,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"gh-pages","last_synced_at":"2025-07-27T04:50:53.232Z","etag":null,"topics":["animation","demo","fire","glsl","java","javascript","particles","regl","webgl"],"latest_commit_sha":null,"homepage":"https://erkaman.github.io/regl-fire/fire.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Erkaman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2016-09-10T19:18:10.000Z","updated_at":"2024-11-11T04:33:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"328900a1-b104-4770-9e8a-ceebeba9d381","html_url":"https://github.com/Erkaman/regl-fire","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Erkaman/regl-fire","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fregl-fire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fregl-fire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fregl-fire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fregl-fire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Erkaman","download_url":"https://codeload.github.com/Erkaman/regl-fire/tar.gz/refs/heads/gh-pages","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Erkaman%2Fregl-fire/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30240900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T00:58:18.660Z","status":"ssl_error","status_checked_at":"2026-03-08T00:55:48.608Z","response_time":53,"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":["animation","demo","fire","glsl","java","javascript","particles","regl","webgl"],"created_at":"2024-11-12T15:29:32.555Z","updated_at":"2026-03-08T01:34:03.468Z","avatar_url":"https://github.com/Erkaman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# regl-fire\n\nCheap-looking fire particle system implemented with [regl](https://github.com/mikolalysenko/regl).\n\n[Demo here](https://erkaman.github.io/regl-fire/fire.html)\n\n![Animated](images/fire.gif)\n\n# Implementation Details\n\nThe fire is rendered as a particle system of about 300 particles. It\nturns out that only 300 particles can result in a significant amount of\noverdraw, and this will cause poor performance on lower-end graphics\ncards.\n\nBut I solved this problem by rendering the particle system to an FBO\nthat is about one-fifth the size of the screen, and then upscaling and\nrendering it to the actual screen. Since then less fragments are\nprocessed, the overhead from all the overdraw for the fragments is\nsignificantly reduced.\n\nThis technique is called off-screen particles, and you can read more\nabout it [in this article](http://http.developer.nvidia.com/GPUGems3/gpugems3_ch23.html)\n\n# Build\n\nFirst install all dependencies by doing\n\n```bash\nnpm install\n```\n\nTo then run the demo, do\n\n```bash\nnpm run start\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkaman%2Fregl-fire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferkaman%2Fregl-fire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferkaman%2Fregl-fire/lists"}