public class FourFunctionsFactory
- extends java.lang.Object
Maps every point (x,y) with x,y in [0..1] to a Nice function, so that points
that are close to each other are mapped to similar methods.
Copyright:(c) Marc Conrad, Tim French 2010; Usage of the works is
permitted provided that this instrument is retained with the works,
so that any entity that uses the works is notified of this instrument.
DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.
- Marc Conrad
|Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static double gridSize
public static AnyFunction getFunctionAtPoint(long seed,
- Returns a function at point (x,y) via four functions.
seed - a unique number that ininitiazlies the random number generator used for the functions.
x - must be between 0 and 1.
y - must be between 0 and 1.
- the four functions.