default_settings | R Documentation |
Returns a list of values used for position/trajectory generation or presentation. The values refer to the "physical properties" (e.g., definition of the objects or arena) or to the presentation propoerties (e.g., objects' colour, presence of border). The list is passed as a parameter to other functions.
default_settings()
Currently used properties include:
A vector of form 'c(xmin, xmax)'. Represents x-limit of the arena square, objects are limited to this area.
A vector of form 'c(ymin, ymax)'. Represents y-limit of the arena square, objects are limited to this area.
Minimum pairwise distance between centres of objects.
Radius of the object. Object is considered to be a circle.
Logical. Whether arena border should be drawn.
Character. "square" or "circle"
Character. Colour code of default fill colour.
Character. Colour code of target fill colour.
Character. Colour code of default border.
Character. Colour code of target border.
Logical. Should we show object numbers in plots?
Logical. Should objects bounce off square arena?
Logical. Should objects bounce off each other?
Logical. Should pairwise collisions respect contact angle or just swap velocity vectors (simplified bouncing)?
Logical. Should objects bounce off circular arena?
Logical. Should objects bounce off inside of circular arena (for donut shapes)?
Real. Amount of uniform angular jitter after bouncing, in radians.
list of parameters
default_settings()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.