Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Perlin Planes #23

Open
Glowstick0017 opened this issue Oct 5, 2023 · 1 comment
Open

Multiple Perlin Planes #23

Glowstick0017 opened this issue Oct 5, 2023 · 1 comment
Assignees
Labels
hacktoberfest-accepted help wanted Extra attention is needed

Comments

@Glowstick0017
Copy link
Owner

Glowstick0017 commented Oct 5, 2023

Currently the procedural generation is done by using a single Perlin plane. I call this perlin plane seaLevel because if you change the number '2' at the end of Line 50 in Engine.js seen below

let seaLevel = (perlin2((x+posX)/300,(y+posY)/300)+1)/2;

the sea level lowers the closer you get to 1 and rises the higher the number is. As nice as the generation comes out, it doesn't necessarily feel as real as it could be.
With this issue, I'm looking for contributors to start experimenting with the values put into the Perlin function, stacking perlin functions, and maybe more color values distinguished between it's output to see how we can make the base generation more realistic or lively. Another focus could be letting the user define values for custom generation or color values/gradients.

@Bilal-Shahzad
Copy link
Contributor

Can I be assigned to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest-accepted help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants