{"id":27037870,"url":"https://github.com/neulhan/fallingjs","last_synced_at":"2025-04-05T02:18:10.102Z","repository":{"id":56088337,"uuid":"314761164","full_name":"Neulhan/FallingJS","owner":"Neulhan","description":"Beautiful snowing effect very simply! Rust-WASM support too.","archived":false,"fork":false,"pushed_at":"2024-04-03T23:48:36.000Z","size":815,"stargazers_count":9,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T16:03:23.867Z","etag":null,"topics":["canvas","config-props","opensource-library","rust","snow","snowflake","snowyjs","wasm"],"latest_commit_sha":null,"homepage":"https://neulhan.github.io/FallingJS/","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/Neulhan.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":"2020-11-21T07:52:14.000Z","updated_at":"2025-03-07T03:12:55.000Z","dependencies_parsed_at":"2024-01-15T16:25:13.439Z","dependency_job_id":"33488c55-3e67-4402-91e5-533f42a414fb","html_url":"https://github.com/Neulhan/FallingJS","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.42105263157894735","last_synced_commit":"2808b01e1c7bb5b1df4e32756e62fc2333154db5"},"previous_names":["neulhan/fallingjs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neulhan%2FFallingJS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neulhan%2FFallingJS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neulhan%2FFallingJS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Neulhan%2FFallingJS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Neulhan","download_url":"https://codeload.github.com/Neulhan/FallingJS/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247276185,"owners_count":20912288,"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":["canvas","config-props","opensource-library","rust","snow","snowflake","snowyjs","wasm"],"created_at":"2025-04-05T02:18:09.423Z","updated_at":"2025-04-05T02:18:10.093Z","avatar_url":"https://github.com/Neulhan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FallingJS\n\nFallingJS will help you use the beautiful snowing effect very simply!  \n`examples`: https://neulhan.github.io/FallingJS/\n\n## Preview\n\n\u003cimg src=\"https://raw.githubusercontent.com/Neulhan/fallingjs/master/examples/preview.png\" /\u003e\n\n## Get Started\n\n```html\n\u003cscript type=\"module\"\u003e\n  const fallingjs = new FallingJS();\n  fallingjs.start();\n\u003c/script\u003e\n```\n\n## Config Props\n\n| Name        | Type       | Description                                           | Required | Default    |\n| ----------- | ---------- | ----------------------------------------------------- | -------- | ---------- |\n| `el`        | `string`   | Falling effect area by css selector                   | No       | `body`     |\n| `frequency` | `number`   | Set falling object adding frequency to the area       | No       | `0.1`      |\n| `minSpeed`  | `number`   | Set min speed of falling objects                      | No       | `0.5`      |\n| `maxSpeed`  | `number`   | Set max speed of falling objects                      | No       | `2`        |\n| `minRadius` | `number`   | Set min radius of falling objects                     | No       | `1`        |\n| `maxRadius` | `number`   | Set max radius of falling objects                     | No       | `3`        |\n| `minAngle`  | `number`   | Set min angle of falling objects (-1 ~ 1 recommended) | No       | `-0.2`     |\n| `maxAngle`  | `number`   | Set max angle of falling objects (-1 ~ 1 recommended) | No       | `0.2`      |\n| `type`      | `string`   | Type of falling objects                               | No       | `\"Circle\"` |\n| `colors`    | `string[]` | Color palette array for falling objects               | No       | `[\"#FFF\"]` |\n| `wasm`      | `boolean`  | Use rust-wasm version rendering                       | No       | `false`    |\n\n## Future Updates\n\n- Add config props `image` to custom snowflake image\n- Add event hooks\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneulhan%2Ffallingjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneulhan%2Ffallingjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneulhan%2Ffallingjs/lists"}