{"id":18153437,"url":"https://github.com/thinknathan/defold-perlin-noise","last_synced_at":"2025-03-31T16:30:27.992Z","repository":{"id":212575326,"uuid":"648905967","full_name":"thinknathan/defold-perlin-noise","owner":"thinknathan","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-29T04:08:15.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-12-29T05:22:18.715Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thinknathan.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}},"created_at":"2023-06-03T06:45:17.000Z","updated_at":"2023-12-29T05:22:19.880Z","dependencies_parsed_at":"2023-12-15T03:16:54.397Z","dependency_job_id":"206f9290-aafe-410f-8c3d-3bf74f68de33","html_url":"https://github.com/thinknathan/defold-perlin-noise","commit_stats":null,"previous_names":["thinknathan/defold-perlin-noise"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fdefold-perlin-noise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fdefold-perlin-noise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fdefold-perlin-noise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thinknathan%2Fdefold-perlin-noise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thinknathan","download_url":"https://codeload.github.com/thinknathan/defold-perlin-noise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222666828,"owners_count":17019883,"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":[],"created_at":"2024-11-02T03:07:02.162Z","updated_at":"2024-11-02T03:07:02.864Z","avatar_url":"https://github.com/thinknathan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# defold-perlin-noise\n\nA Defold native extension attempting to implement 1D, 2D, 3D and 4D Perlin Noise.\n\nNot yet tested.\n\n## Usage\n\n```lua\nlocal noise = perlin.noise_1d(0.5, 1.0, 1.0, 4, 0.5)\nprint(noise) -- 0.685\n\nlocal noise2 = perlin.noise_2d(0.5, 0.5, 1.0, 1.0, 4, 0.5)\nprint(noise2) -- 0.807\n\nlocal noise3 = perlin.noise_3d(0.5, 0.5, 0.5, 1.0, 1.0, 4, 0.5)\nprint(noise3) -- 0.753\n\nlocal noise4 = perlin.noise_4d(0.5, 0.5, 0.5, 0.5, 1.0, 1.0, 4, 0.5)\nprint(noise4) -- 0.532\n```\n\n## Background\n\nCreated with Chat-GPT. Prompt:\n\n```\ncreate a defold extension that exposes a module to lua, use c++ that does not use any features newer than 2009, and does not use the standard library, and always uses const char* instead of std::string.\n\nthe name of the module is perlin.\n\nit must implement \"Improved Noise\" by Ken Perlin and expose it to lua. use only public domain sources.\n\nimplement 1D float Perlin noise, 2D float Perlin noise, 3D float Perlin noise, 4d float Perlin noise.\n\nfill in the permutation table.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Fdefold-perlin-noise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinknathan%2Fdefold-perlin-noise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinknathan%2Fdefold-perlin-noise/lists"}