{"id":31722829,"url":"https://github.com/joshforisha/noise-deno","last_synced_at":"2026-04-19T03:02:29.777Z","repository":{"id":81421807,"uuid":"362851056","full_name":"joshforisha/noise-deno","owner":"joshforisha","description":"Noise algorithms for Deno","archived":false,"fork":false,"pushed_at":"2021-05-02T00:00:30.000Z","size":625,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-09T04:19:32.124Z","etag":null,"topics":["deno","noise","noise-algorithms"],"latest_commit_sha":null,"homepage":"https://deno.land/x/noise","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/joshforisha.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}},"created_at":"2021-04-29T14:47:14.000Z","updated_at":"2022-12-29T19:14:34.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f905616-eaf6-4784-b1c7-dcce0a37c5c8","html_url":"https://github.com/joshforisha/noise-deno","commit_stats":{"total_commits":22,"total_committers":2,"mean_commits":11.0,"dds":"0.13636363636363635","last_synced_commit":"ca23dc872ab60d936a11ea01267a2e1843d95e8e"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/joshforisha/noise-deno","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshforisha%2Fnoise-deno","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshforisha%2Fnoise-deno/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshforisha%2Fnoise-deno/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshforisha%2Fnoise-deno/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/joshforisha","download_url":"https://codeload.github.com/joshforisha/noise-deno/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/joshforisha%2Fnoise-deno/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31992822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["deno","noise","noise-algorithms"],"created_at":"2025-10-09T04:19:30.355Z","updated_at":"2026-04-19T03:02:29.711Z","avatar_url":"https://github.com/joshforisha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Noise example](images/noise.png)\n\n**Noise**\u0026emsp;A variety of standardized noise algorithms for Deno.\n\n## Implemented Algorithms\n\n- OpenSimplex noise: 2D, 3D, 4D\n- Perlin noise: 2D, 3D, 4D\n- Simplex noise: 2D, 3D, 4D\n- Value noise: 1D, 2D, 3D, 4D\n\n## Usage\n\n### Fractal Noise\n\nAll shaping functions within `fractal/` work with any noise-generating functions in the other modules, in order to stack and octave in a standardized way.\n\n### Function Types\n\nAll noise functions output a float between -1 and 1 (`[-1, 1]`).\n\n```typescript\ntype Noise1D = (x: number) =\u003e number;\ntype Noise2D = (x: number, y: number) =\u003e number;\ntype Noise3D = (x: number, y: number, z: number) =\u003e number;\ntype Noise4D = (x: number, y: number, z: number, w: number) =\u003e number;\n```\n\n### Interpolations\n\nBy default, noise algorithms that rely on interpolating values (namely Perlin and value), default to using linear interpolation `lerp`, but their options allow for setting `mix` to override this. There are other interpolation functions within the `math.ts` module.\n\n```typescript\ntype Interpolate = (low: number, high: number, t: number) =\u003e number;\n```\n\n### NoiseOptions\n\nBase options for all noise functions. Contains `depth` (size of permutation table) and `random` (pseudo-random number generator in `[0, 1]`, default: `Math.random`).\n\n```typescript\ninterface NoiseOptions {\n  depth?: number;\n  random?: () =\u003e number;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshforisha%2Fnoise-deno","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjoshforisha%2Fnoise-deno","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjoshforisha%2Fnoise-deno/lists"}