Giter VIP home page Giter VIP logo

hw01-noisy-terrain's Introduction

CIS 566 Homework 1: Noisy Terrain

Varun Jain (javarun)

Sources

The source that I found the most helpful is using Making Maps with noise functions by Red Blob Games. I referred to the source to create a dual elevation and moisture noise map, as well as making the mountains elevation more prominent with other distributions such as exponential and smoothstep. I also divided my input to my FBM by a large number to get farther apart mountains with help from Adam Mally.

Demo

https://ivarun987.github.io/hw01-noisy-terrain/

Screenshot

Techniques

I used two FBM functions with different seeds to generate elevation and moisture that are later changed by different exponential functions. The elevation FBM weights the earlier large shapes more than the detailed noise. I also used another FBM noise function, which is then used as an input for an FBM function to generate the noise on the mountain texture. Otherwise, the colors are generated using FBM and the mix() function to create a gradient based on its height or moisture.

I have two sliders for the density of the map, which is changed by dividing the position with inversely decreasing value while the density increases. I have another slider for the exponential distribution which is used in the mountain making. I have one more slider for the color of the texture and how much it should mix with a random color.

hw01-noisy-terrain's People

Contributors

ivarun987 avatar imyself avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.