{"id":26886445,"url":"https://github.com/leodeslf/perlin-noise","last_synced_at":"2025-03-31T19:18:52.806Z","repository":{"id":57126752,"uuid":"200305789","full_name":"leodeslf/perlin-noise","owner":"leodeslf","description":"🏔 A Perlin Noise library for JavaScript.","archived":false,"fork":false,"pushed_at":"2021-10-01T23:47:47.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T04:33:37.247Z","etag":null,"topics":["perlin-noise"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@leodeslf/perlin-noise","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/leodeslf.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}},"created_at":"2019-08-02T22:41:10.000Z","updated_at":"2023-04-10T15:58:13.000Z","dependencies_parsed_at":"2022-08-31T08:23:00.554Z","dependency_job_id":null,"html_url":"https://github.com/leodeslf/perlin-noise","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodeslf%2Fperlin-noise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodeslf%2Fperlin-noise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodeslf%2Fperlin-noise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leodeslf%2Fperlin-noise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leodeslf","download_url":"https://codeload.github.com/leodeslf/perlin-noise/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246523831,"owners_count":20791444,"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":["perlin-noise"],"created_at":"2025-03-31T19:18:52.257Z","updated_at":"2025-03-31T19:18:52.791Z","avatar_url":"https://github.com/leodeslf.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Perlin Noise\n\n```txt\n\n             _.~^~.__.~^~._\n           /~^~.______.~^~/\\\n          /^~.________.~^/ /\n         /~^~.______.~^~/ /\n        /_.~^~.__.~^~._/ /\n       /_ /\\___________\\/\n      /._/ /\n     /~./ /\n    /^~/ /\n    \\__\\/\n\n```\n\n## About\n\nA Perlin Noise library for JavaScript.\n\n## Features\n\n- `perlin1D`\n- `perlin2D`\n- `perlin3D`\n- `perlin4D`\n\n## Install\n\n```bash\nnpm i @leodeslf/perlin-noise\n```\n\n## Usage\n\n```javascript\nimport { perlin1D } from '@leodeslf/perlin-noise';\n\nconsole.debug(perlin1D(0.125)); // -0.10894775390625\nconsole.debug(perlin1D(0.120)); // -0.1056811008\nconsole.debug(perlin1D(0.115)); // -0.10229407794375\n```\n\n[Live demo here](https://leodeslf.github.io/perlin-noise/ \"GitHub Pages\") (1D, 2D, 3D, and 4D).\n\n## Author\n\n[Leonardo de S.L.F](https://github.com/leodeslf \"GitHub profile\").\n\n## License\n\nMIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodeslf%2Fperlin-noise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleodeslf%2Fperlin-noise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleodeslf%2Fperlin-noise/lists"}