{"id":27147320,"url":"https://github.com/farazzshaikh/ts-noise","last_synced_at":"2025-04-08T11:18:17.330Z","repository":{"id":107958836,"uuid":"363517974","full_name":"FarazzShaikh/ts-noise","owner":"FarazzShaikh","description":"Simple CPU gradient noise library. Now with fBm!","archived":false,"fork":false,"pushed_at":"2025-03-23T13:34:32.000Z","size":1400,"stargazers_count":43,"open_issues_count":0,"forks_count":12,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-08T11:18:06.021Z","etag":null,"topics":["3d","glsl","nodejs","noise","plugin","terrain-generation","threejs","webgl","webgl2"],"latest_commit_sha":null,"homepage":"https://farazzshaikh.github.io/ts-noise/","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/FarazzShaikh.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-01T22:17:12.000Z","updated_at":"2025-03-23T13:33:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7c3dd11-6f7b-47ba-8618-d24312f79d58","html_url":"https://github.com/FarazzShaikh/ts-noise","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"44094779f34b0ff9417c9b146893007d4f920400"},"previous_names":["farazzshaikh/ts-noise"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarazzShaikh%2Fts-noise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarazzShaikh%2Fts-noise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarazzShaikh%2Fts-noise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FarazzShaikh%2Fts-noise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FarazzShaikh","download_url":"https://codeload.github.com/FarazzShaikh/ts-noise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247829517,"owners_count":21002997,"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":["3d","glsl","nodejs","noise","plugin","terrain-generation","threejs","webgl","webgl2"],"created_at":"2025-04-08T11:18:16.402Z","updated_at":"2025-04-08T11:18:17.316Z","avatar_url":"https://github.com/FarazzShaikh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eTS-Noise\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    Simple CPU gradient noise library. Now with fBm!\n    \u003cbr /\u003e\n    \u003ca href=\"https://farazzshaikh.github.io/ts-noise/\"\u003eView Demo\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/FarazzShaikh/three-noise/issues/new\"\u003eReport Bug\u003c/a\u003e\n    ·\n    \u003ca href=\"mailto:farazzshikh@gmail.com\"\u003eHire me!\u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.npmjs.com/package/ts-noise\"\u003e\u003cimg align=\"center\" src=\"https://img.shields.io/npm/v/ts-noise?color=cc3534\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n## Installation\n\n```bash\nnpm i ts-noise\n# or\nyarn add ts-noise\n```\n\n## Usage\n\n```js\nimport { Perlin, FBM } from \"ts-noise\";\n\n// Instantiate. Seed optional\nconst perlin = new Perlin(seed);\nconst fbm = new FBM(seed, { ...fbmOptions });\n\nperlin.get2(vector2); // Get 2D Perlin Nosie\nperlin.get3(vector3); // Get 3D Perlin Nosie\n\nfbm.get2(vector2); // Get 2D Perlin Nosie with fBm\nfbm.get3(vector3); // Get 3D Perlin Nosie with fBm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarazzshaikh%2Fts-noise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffarazzshaikh%2Fts-noise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffarazzshaikh%2Fts-noise/lists"}