{"id":13534175,"url":"https://github.com/AndreiRudenko/sparkler","last_synced_at":"2025-04-01T22:31:15.339Z","repository":{"id":51536630,"uuid":"112707364","full_name":"AndreiRudenko/sparkler","owner":"AndreiRudenko","description":"Modular Macro-powered Particle System for haxe","archived":false,"fork":false,"pushed_at":"2021-10-01T16:41:16.000Z","size":309,"stargazers_count":16,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-29T01:46:44.354Z","etag":null,"topics":["haxe","kha","modular","particle-system","particles"],"latest_commit_sha":null,"homepage":"","language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndreiRudenko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-12-01T07:09:54.000Z","updated_at":"2024-01-03T17:22:22.000Z","dependencies_parsed_at":"2022-08-21T15:30:18.587Z","dependency_job_id":null,"html_url":"https://github.com/AndreiRudenko/sparkler","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/AndreiRudenko%2Fsparkler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRudenko%2Fsparkler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRudenko%2Fsparkler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiRudenko%2Fsparkler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiRudenko","download_url":"https://codeload.github.com/AndreiRudenko/sparkler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246720511,"owners_count":20822913,"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":["haxe","kha","modular","particle-system","particles"],"created_at":"2024-08-01T07:01:27.401Z","updated_at":"2025-04-01T22:31:14.928Z","avatar_url":"https://github.com/AndreiRudenko.png","language":"Haxe","readme":"## Sparkler  \nA modular 2d particle system.\n\n### Features  \n* Macro-powered.\n* Customizable.\n* You can create custom `ParticleModule` to extend functionality.\n* Local/World Space rendering.\n* Multiple frameworks support: [Kha](https://github.com/Kode/Kha) and [Clay](https://github.com/clay2d/clay) for now.\n\n### Sample Usage  \n\n```haxe\n\nvar emitter = new ParticleEmitter\u003c\n\tColorListOverLifetimeModule,\n\tInitialVelocityModule,\n\tKhaSpriteRendererModule\n\u003e({\n\tcacheSize: 512,\n\tlifetime: 2,\n\temitterLifetime: 5,\n\temitRate: 50,\n\tcolorListOverLifetime: {\n\t\tease: null,\n\t\tlist: [\n\t\t\t{\n\t\t\t\ttime: 0,\n\t\t\t\tvalue: 0xFFFF0000\n\t\t\t},\n\t\t\t{\n\t\t\t\ttime: 0.5,\n\t\t\t\tvalue: 0xFFFF00FF\n\t\t\t},\n\t\t\t{\n\t\t\t\ttime: 1,\n\t\t\t\tvalue: 0x00FF00FF\n\t\t\t}\n\t\t]\n\t},\n\tinitialVelocity: {x: 0, y: -200},\n\tkhaSpriteRenderer: {\n\t\timage: kha.Assets.images.particle\n\t},\n\tsortFunc: function(a, b) {\n\t\treturn a.age \u003c b.age ? 1 : -1;\n\t}\n});\n\nemitter.start();\n\n\n```","funding_links":[],"categories":["Libraries"],"sub_categories":["Haxe"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreiRudenko%2Fsparkler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndreiRudenko%2Fsparkler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndreiRudenko%2Fsparkler/lists"}