{"id":13549701,"url":"https://github.com/sbis04/particle_canvas","last_synced_at":"2026-03-02T09:02:58.508Z","repository":{"id":64995964,"uuid":"554600803","full_name":"sbis04/particle_canvas","owner":"sbis04","description":"Particle Canvas using Flutter, FlutterFlow, and some math!","archived":false,"fork":false,"pushed_at":"2022-10-20T05:37:11.000Z","size":26118,"stargazers_count":43,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-28T15:47:37.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","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/sbis04.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}},"created_at":"2022-10-20T04:28:53.000Z","updated_at":"2025-10-06T13:17:28.000Z","dependencies_parsed_at":"2023-01-11T17:31:11.343Z","dependency_job_id":null,"html_url":"https://github.com/sbis04/particle_canvas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbis04/particle_canvas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fparticle_canvas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fparticle_canvas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fparticle_canvas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fparticle_canvas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbis04","download_url":"https://codeload.github.com/sbis04/particle_canvas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbis04%2Fparticle_canvas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29996279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2024-08-01T12:01:24.583Z","updated_at":"2026-03-02T09:02:58.426Z","avatar_url":"https://github.com/sbis04.png","language":"Dart","funding_links":[],"categories":["Dart"],"sub_categories":[],"readme":"# ParticlesCanvas\n\nParticle dissipating effect created using [Flutter](https://flutter.dev/), [FlutterFlow](https://flutterflow.io/), and some math!\n\n\u003e Try out the [**DEMO**](https://app.flutterflow.io/run/4JpKoK5qLbS3TuZpU0Fn)! *(But it's recommended to run it as a desktop or mobile app as it's not that optimized, so on web might be a little jarring)*\n\u003e \n\u003e **FlutterFlow project:** https://app.flutterflow.io/project/particles-demo-vd2vhs\n\nhttps://user-images.githubusercontent.com/43280874/196859599-aa01e922-86fc-47fe-957c-79d667006764.mov\n\nThe `ParticleCanvas` is a FlutterFlow [Custom Widget](https://docs.flutterflow.io/customizing-your-app/custom-widgets), the color selector and the property editor are all built inside FlutterFlow.\n\n## ParticleCanvas\n\nThis holds the logic for accepting user input for drawing on the canvas and particle dissipation effect. It accepts the following properties that you can customize:\n\n``` dart\nclass ParticleCanvas extends StatefulWidget {\n  const ParticleCanvas({\n    Key? key,\n    this.width,\n    this.height,\n    this.particleGroupRadius = 30.0,\n    this.particleMaxSize = 6.0,\n    this.effectDuration = 5.0,\n    this.numberOfParticles = 12,\n    this.gapBetweenDrawFraction = 0.5,\n    this.particleColor = Colors.tealAccent,\n  }) : super(key: key);\n\n  final double? width;\n  final double? height;\n  final double particleGroupRadius;\n  final double particleMaxSize;\n  final double effectDuration;\n  final int numberOfParticles;\n  final double gapBetweenDrawFraction;\n  final Color particleColor;\n\n  @override\n  State\u003cParticleCanvas\u003e createState() =\u003e _ParticleCanvasState();\n}\n```\n\n## License\n\nCopyright (c) 2022 Souvik Biswas\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbis04%2Fparticle_canvas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbis04%2Fparticle_canvas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbis04%2Fparticle_canvas/lists"}