DiffusionLimitedAggregation

doodle.image.examples.DiffusionLimitedAggregation

Attributes

Source
DiffusionLimitedAggregation.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def brownianMotion(start: Point, drift: Vec): Random[Point]
def distance(pt1: Point, pt2: Point): Double
def dla(nParticles: Int, maxSteps: Int, stuck: Random[List[Point]]): Random[List[Point]]
def isStuck(point: Point, stuck: List[Point]): Boolean
def jitter(point: Point): Random[Point]
def makeImage(nParticles: Int, maxSteps: Int): Random[Image]
def walk(maxSteps: Int, stuck: List[Point]): Random[Option[Point]]

Concrete fields

val stickRadius: Double