Coder Social home page Coder Social logo

accidentalnoiselibrary's Introduction

AccidentalNoiseLibrary

A modified C# port of the Accidental Noise Library by Joshua Tippetts. It is still in need of some proper C# specific optimizations and the Color modules are missing for the time being. Included is a special XML reading module which is also work in progress.

accidentalnoiselibrary's People

Contributors

tinkerworx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accidentalnoiselibrary's Issues

Avoid heightvalue 0 and 1...

Hi, i really like your work here, but there is one problem.. when you use the ImplicitModuleBase.Get(x,y) the value u get tends to become 1 or 0 much more than the values in between.. Do you know any way to fix this since making the "waterMax" value lower won't help due to the more common value 0.. so i can set
waterMax = 0.000001f;
grassMax = 0.3;
forestMax = 0.8;
rockMax = 0.999;
snow Max= 1;

if ( ImplicitModuleBase.Get(x,y) < waterMax){assign(waterPrefab);}
if ( ImplicitModuleBase.Get(x,y) > waterMax&& ImplicitModuleBase.Get(x,y) < grassMax)
{assign(grassPrefab);}
//************************
etc..
however even though the water max i set to superlow it tends to return waterPrefabs more often than for example grassPrefabs... This means that the return of ImplicitModuleBase.Get(x,y) tends to become 1 and 0 more often than all the other values.. any suggestions?

//Kalle

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.