GithubHelp home page GithubHelp logo

value-noise's Introduction

Value Noise Generator

Generate random value noise images, using different kinds of interpolation (bilinear, bicubic, and smoothstep).

The graphical interface is based on Qt (v. 5.12), yet the value noise implementation (located in src) is independent of its GUI, hence it can be rewritten with any other graphic library.

screenSample

Interpolation

The value noise generation can also be extendend with other interpolations, as a matter of fact the function valueNoise2d (located in src/valuenoise.h) takes as one of its paramethers a function with the following signature:

float interpolation(float x, float y, int anchor, float* lattice, int sizeLattice)

where:

  • x and y are values included on the interval [0,1] that rapresent the position of the interpoled point
  • anchor is the index of the upper left value to be considered on lattice
  • lattice is an array sizeLattice*sizeLattice filled with random values, and usually generated using the given function float* vertexLattice(...) (also located in src/valuenoise.h)

value-noise's People

Contributors

nr3d avatar

Watchers

 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.