class

ContributorMural::PebbleConfig

Inherits YAML::Serializable::Strict < YAML::Serializable < Reference < Object

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Source
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

density

How much of the slab the pebbles cover. Lower pours them out loose; higher packs them tighter, up to the point where the crowd cannot be packed that tightly at all, and then the pile loosens itself and takes the room it needs — so this is the density asked for rather than the one guaranteed.

Source
density=(density : Float64)

How much of the slab the pebbles cover. Lower pours them out loose; higher packs them tighter, up to the point where the crowd cannot be packed that tightly at all, and then the pile loosens itself and takes the room it needs — so this is the density asked for rather than the one guaranteed.

Source
gap

Clearance kept between two pebbles once they settle.

Source
gap=(gap : Int32)

Clearance kept between two pebbles once they settle.

Source
jitter

How far off its lattice cell a pebble starts. It only sets where the shaking begins — the pack finds its own arrangement from there — so this loosens the rows rather than scattering the pile.

Source
jitter=(jitter : Float64)

How far off its lattice cell a pebble starts. It only sets where the shaking begins — the pack finds its own arrangement from there — so this loosens the rows rather than scattering the pile.

Source
max_size

Diameters, not radii — the top contributor's pebble and the bottom one's.

Source
max_size=(max_size : Int32)

Diameters, not radii — the top contributor's pebble and the bottom one's.

Source
min_size
Source
min_size=(min_size : Int32)
Source
validate
Source
width

The slab the pebbles are poured into, not a hard document width: the pack can bulge past it, and the block that comes back is the bounding box.

Source
width=(width : Int32)

The slab the pebbles are poured into, not a hard document width: the pack can bulge past it, and the block that comes back is the bounding box.

Source