{"id":15618003,"url":"https://github.com/omnedia/ngx-particles","last_synced_at":"2025-10-08T06:39:27.783Z","repository":{"id":253955119,"uuid":"845018520","full_name":"omnedia/ngx-particles","owner":"omnedia","description":"A simple component library to create a container with an animated background.","archived":false,"fork":false,"pushed_at":"2025-06-11T12:28:17.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-09-12T03:44:56.743Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/omnedia.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,"zenodo":null}},"created_at":"2024-08-20T12:26:44.000Z","updated_at":"2025-06-17T21:40:46.000Z","dependencies_parsed_at":"2025-04-15T02:44:12.364Z","dependency_job_id":"fc66cefc-f694-4641-97d3-c02bf7c6b6db","html_url":"https://github.com/omnedia/ngx-particles","commit_stats":null,"previous_names":["omnedia/ngx-particles"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/omnedia/ngx-particles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-particles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-particles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-particles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-particles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/omnedia","download_url":"https://codeload.github.com/omnedia/ngx-particles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/omnedia%2Fngx-particles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278903014,"owners_count":26065786,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"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-10-03T08:00:54.043Z","updated_at":"2025-10-08T06:39:27.766Z","avatar_url":"https://github.com/omnedia.png","language":"TypeScript","funding_links":[],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 01, 2024](/content/2024/10/01/README.md)","Animations"],"readme":"# ngx-particles\n\n\u003ca href=\"https://ngxui.com\" target=\"_blank\" style=\"display: flex;gap: .5rem;align-items: center;cursor: pointer; padding: 0 0 0 0; height: fit-content;\"\u003e\n  \u003cimg src=\"https://ngxui.com/assets/img/ngxui-logo.png\" style=\"width: 64px;height: 64px;\"\u003e\n\u003c/a\u003e\n\nThis Library is part of the NGXUI ecosystem. \u003cbr\u003e\nView all available components at https://ngxui.com\n\n`@omnedia/ngx-particles` is an Angular library that provides a dynamic and interactive particle animation effect. The particles react to mouse movements, creating a visually engaging and customizable background for your Angular components.\n\n## Features\n\n- Interactive particle animation that responds to mouse movements.\n- Customizable particle quantity, size, color, and motion dynamics.\n- Lightweight and easy to integrate as a standalone component.\n\n## Installation\n\nInstall the library using npm:\n\n```bash\nnpm install @omnedia/ngx-particles\n```\n\n## Usage\n\nImport the `NgxParticlesComponent` in your Angular module or component:\n\n```typescript\nimport {NgxParticlesComponent} from '@omnedia/ngx-particles';\n\n@Component({\n  ...\n    imports:\n[\n  ...\n    NgxParticlesComponent,\n],\n...\n})\n```\n\nUse the component in your template:\n\n```html\n\n\u003com-particles\n  [quantity]=\"150\"\n  [size]=\"0.5\"\n  [circleColor]=\"'#ff69b4'\"\n  [staticity]=\"60\"\n  [ease]=\"40\"\n  [particleSpeed]=\"1\"\n  [vx]=\"0.1\"\n  [vy]=\"0.1\"\n  styleClass=\"custom-particles\"\n\u003e\n  \u003ch1\u003eYour content here\u003c/h1\u003e\n\u003c/om-particles\u003e\n```\n\n## API\n\n```html\n\n\u003com-particles\n  [quantity]=\"quantity\"\n  [size]=\"size\"\n  [circleColor]=\"circleColor\"\n  [staticity]=\"staticity\"\n  [ease]=\"ease\"\n  [particleSpeed]=\"particleSpeed\"\n  [vx]=\"vx\"\n  [vy]=\"vy\"\n  styleClass=\"your-custom-class\"\n\u003e\n  \u003cng-content\u003e\u003c/ng-content\u003e\n\u003c/om-particles\u003e\n```\n\n- `quantity` (optional): The number of particles. Defaults to 100.\n- `size` (optional): The size of the particles. Defaults to 0.4.\n- `circleColor` (optional): The color of the particles. Accepts any valid CSS color value (e.g., '#ff69b4', 'rgba(255, 105, 180, 0.8)'). Default is white\n- `staticity` (optional): Controls the responsiveness of the particles to the mouse. Higher values reduce particle movement. Defaults to 50.\n- `ease` (optional): Controls the smoothness of the particle movement. Lower values increase the speed of the transition. Defaults to 50.\n- `particleSpeed` (optional): Controls the speed of the particle movement. Higher values increase the speed of the particles. Defaults to 1.\n- `vx` (optional): Horizontal velocity of the particles. Defaults to 0.\n- `vy` (optional): Vertical velocity of the particles. Defaults to 0.\n- `styleClass` (optional): A custom CSS class to apply to the particle container.\n\n## Example\n\n```html\n\n\u003com-particles\n  [quantity]=\"200\"\n  [size]=\"0.6\"\n  [circleColor]=\"'#00ffcc'\"\n  [staticity]=\"70\"\n  [ease]=\"30\"\n  [particleSpeed]=\"2\"\n  [vx]=\"0.05\"\n  [vy]=\"0.05\"\n  styleClass=\"particles-background\"\n\u003e\n  \u003cdiv class=\"content\"\u003eInteractive Particle Background\u003c/div\u003e\n\u003c/om-particles\u003e\n```\n\nThis example creates a particle background with 200 particles, cyan-colored, and with custom motion dynamics. The particles will move more fluidly in response to mouse movements.\n\n## Styling\n\nTo further customize the appearance of the particles or the container, use the styleClass input to apply your own CSS classes.\n\n```css\n.particles-background {\n  background-color: #000;\n  position: relative;\n  height: 100vh;\n  overflow: hidden;\n}\n\n.content {\n  position: relative;\n  z-index: 1;\n  color: white;\n  text-align: center;\n  padding-top: 50px;\n}\n```\n\nThis will create a fullscreen particle background with a centered text content overlay.\n\n## Contributing\n\nContributions are welcome. Please submit a pull request or open an issue to discuss your ideas.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-particles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fomnedia%2Fngx-particles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fomnedia%2Fngx-particles/lists"}