Page MenuHomeWildfire Games

Add perlin and simplex noise functions
AbandonedPublic

Authored by Feldfeld on Jun 22 2020, 9:14 AM.

Details

Reviewers
FeXoR
nani
elexis
Group Reviewers
Restricted Owners Package(Owns No Changed Paths)
Summary

Perlin noise is used a lot in procedural generations. I introduced this patch to go with my map, but if that turns out to be a problem I could also put the code that I use directly in my map instead.
Code taken from there : https://github.com/josephg/noisejs

Test Plan

Check that this has the expected behaviour.
It has been used in my new map Alpine Mountains.

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

Feldfeld created this revision.Jun 22 2020, 9:14 AM
Feldfeld created this object with visibility "Feldfeld".
Feldfeld edited the summary of this revision. (Show Details)Jun 22 2020, 9:45 AM
Feldfeld changed the visibility from "Feldfeld" to "Public (No Login Required)".Jun 22 2020, 9:49 AM
lyv added a subscriber: lyv.Jun 22 2020, 11:41 AM

The Noise.js implementations are also simplex noise. Any reason they do not suffice?

Well, first I didn't notice them while making my map, however once I saw them and tried them I had weird results. I could give it another try

asterix added reviewers: Restricted Owners Package, FeXoR, nani, elexis.Jun 22 2020, 11:59 AM

It looks like I had an issue of scaling. I will abandon this revision if I'm able to find good values in my map using Noise.js

Feldfeld abandoned this revision.Jun 22 2020, 8:01 PM

It's not justified to have this in the codebase.