{"id":20322098,"url":"https://github.com/alterebro/perlin-noise-3d","last_synced_at":"2026-03-17T15:42:30.824Z","repository":{"id":34872663,"uuid":"185038003","full_name":"alterebro/perlin-noise-3d","owner":"alterebro","description":"3D Perlin Noise","archived":false,"fork":false,"pushed_at":"2026-03-01T20:05:16.000Z","size":444,"stargazers_count":15,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-03-01T22:28:11.333Z","etag":null,"topics":["3d","noise","noise-generator","perlin","perlin-noise"],"latest_commit_sha":null,"homepage":"https://npm.im/perlin-noise-3d","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alterebro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-05T13:54:29.000Z","updated_at":"2026-03-01T20:05:14.000Z","dependencies_parsed_at":"2023-01-15T09:47:22.156Z","dependency_job_id":"7621c3fa-d445-4754-9fc1-217bcceb3856","html_url":"https://github.com/alterebro/perlin-noise-3d","commit_stats":{"total_commits":38,"total_committers":2,"mean_commits":19.0,"dds":"0.39473684210526316","last_synced_commit":"ebee3088bce0f1278fd0ea63a31f14721ed88dc5"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/alterebro/perlin-noise-3d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alterebro%2Fperlin-noise-3d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alterebro%2Fperlin-noise-3d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alterebro%2Fperlin-noise-3d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alterebro%2Fperlin-noise-3d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alterebro","download_url":"https://codeload.github.com/alterebro/perlin-noise-3d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alterebro%2Fperlin-noise-3d/sbom","scorecard":{"id":187109,"data":{"date":"2025-08-11","repo":{"name":"github.com/alterebro/perlin-noise-3d","commit":"bb7c0e91f5279d4d29725b8434f62870fc25f099"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.4,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 15 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-16T19:58:54.861Z","repository_id":34872663,"created_at":"2025-08-16T19:58:54.861Z","updated_at":"2025-08-16T19:58:54.861Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30626822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T14:16:03.965Z","status":"ssl_error","status_checked_at":"2026-03-17T14:16:03.380Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["3d","noise","noise-generator","perlin","perlin-noise"],"created_at":"2024-11-14T19:19:01.424Z","updated_at":"2026-03-17T15:42:30.805Z","avatar_url":"https://github.com/alterebro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp\u003e\u003cimg src=\"perlin-noise.jpg\" alt=\"Perlin Noise\" width=\"300\" /\u003e\u003c/p\u003e\n\n# perlin-noise-3d\n\n[![NPM Version](https://img.shields.io/npm/v/perlin-noise-3d.svg)](https://www.npmjs.com/package/perlin-noise-3d) [![gzip File Size](https://img.badgesize.io/https://unpkg.com/perlin-noise-3d/dist/perlin-noise-3d.min.js?compression=gzip)](https://unpkg.com/perlin-noise-3d/dist/perlin-noise-3d.min.js)\n\n3D [Perlin Noise](https://en.wikipedia.org/wiki/Perlin_noise) as JavasScript module adapted from the original algorithm implemented by **Ken Perlin** on [mrl.nyu.edu/~perlin/noise](https://mrl.nyu.edu/~perlin/noise/) from the [SIGGRAPH 2002 paper](http://mrl.nyu.edu/~perlin/paper445.pdf).\n\nThis is based on the previous adapting done by **Rune Madsen** on [rune.noise.js](https://github.com/runemadsen/rune.noise.js), which was an adaptation from [P5.js](https://github.com/processing/p5.js/blob/master/src/math/noise.js) done by **Daniel Shiffman**, which was an adaptation from [Processing / PApplet.java](https://github.com/processing/processing/blob/master/core/src/processing/core/PApplet.java) done by **Ben Fry**, which was an adaptation from the contributions by **Karsten Schmidt** aka **toxi** adapting the code created by the German demo scene group **Farbrausch** on their demo production \"*art*\" ( [fr010src.zip@files.scene.org](https://files.scene.org/view/resources/code/sources/fr010src.zip) ) adapted from the original work by **Ken Perlin**.  — **Props to all of them adaptors!**\n\n---\n\n## Install\n\n```sh\n$ npm install perlin-noise-3d\n```\n\nThere are two available files for this module:\n\n- `dist/perlin-noise-3d.js` \u0026rsaquo; CommonJS \u0026amp; ES Module\n- `dist/perlin-noise-3d.min.js` \u0026rsaquo; UMD\n\n\nInclude `perlin-noise-3d`:\n\n```javascript\n// ES6\nimport perlinNoise3d from 'perlin-noise-3d'\n\n// CJS\nconst perlinNoise3d = require('perlin-noise-3d');\n```\n\nInclude the minified UMD file for the browser ( `dist/perlin-noise-3d.min.js` ) or you can add the script directly from [unpkg](https://unpkg.com/perlin-noise-3d).\n\n```html\n\u003cscript src=\"https://unpkg.com/perlin-noise-3d\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\nCreate an instance then you can get `x`, `y` and `z` values.\n\n```javascript\nconst noise = new perlinNoise3d();\n      noise.get(x, y, z);\n```\n\nPlant a seed with `noiseSeed`. *i.e:*\n\n```javascript\n      noise.noiseSeed(Math.E);\n```\n\n\n\n### — Example #01 : `linear` x and `noised y`\n\n```javascript\nconst noise = new perlinNoise3d();\nlet noiseStep = 0;\n\nfor(let x = 0; x \u003c 50; x++ ) {\n\tlet y = noise.get(noiseStep) * 100;\n\tconsole.log(x, Math.floor(y));\n\tnoiseStep += 0.1;\n}\n```\n\n### — Example #02 : plotting a 2D square graph using a seed\n\n```javascript\nlet n = new perlinNoise3d();\n    n.noiseSeed(Math.PI);\n\nlet size = 10;\nlet output = [];\nfor (let x = 0; x \u003c size; x++) {\n    for (let y = 0; y \u003c size; y++) {\n        output.push({ x:x, y:y, value: n.get(x/10, y/10)});\n    }\n}\nconsole.table(output);\n```\n\n\n## API\n\n### `perlinNoise3d`\n\nReturns an `object`.\u003cbr /\u003eYou can create your instance as follows: `let noise = new perlinNoise3d;`\n\n### `noise.get(x, y, z)`\n\nReturns a `float` : `x`, `y`, `z` are the coordinates where you want to get the value. Both second and third parameter are optional.\n\n### `noise.noiseSeed(seed)`\n\nSet a seed value (`float`) to get different noise depending on the noise value.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falterebro%2Fperlin-noise-3d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falterebro%2Fperlin-noise-3d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falterebro%2Fperlin-noise-3d/lists"}