Element · body

cliff

A storey of stacked, broken rock: big blocks resting on each other under gravity, cleaved into columns, cracked across their joints and grained. It is a body of the stack: its at= region is where the stones stand and its top= band is how high their tops are, so a run, a corner, a mound or a spire is a region and a band, not a form.

Scree is not part of the cliff: it is stones and boulders in a scatter at="foot(cliff)"; the earth at its foot is the dirt's own pins, and dirt on its top is a second dirt laid on it.

Sizes
35dmm tall by default; runs on any length of edge
Shapes
a region and a band: runs, corners, canyons, heaps, spires
Printing
no supports: every stone is seated at the overhang limit
In the library
tiles/cliffs/: 13 tiles, every shape
Words used on this page
crag
The region a cliff fills. Its north face, ends and top plane are bound; its front is free.
band
The cliff's top=: a single height is a plane every stone top touches, a wide band a jagged crest, and a weighted range ($dirtEdgeHeight + high(10dmm .. 40dmm)) a crest with odds: mostly tall stacks, a few low (Clouds).
dirt on the tops
A second dirt whose top is $bottom + [0.6dmm .. 1.2dmm]: it lies on the stone's tops like on any surface.
shelf
A step down the free face, below the band, a miniature can stand on (ledges).
joint
The seam between two stones. It reads as a dark groove.
crack
A thin slot cut into a stone face, edge to edge.
end section
The fixed profile every cliff has at its tile ends, so tiles butt end to end.
A two-square escarpment: a storey-high cliff of stacked blocks along the north edge, its face stepping in and out, with scree and dirt at its foot
lib:tiles/cliffs/2x1-cliff-escarpment.dtile: a band whose top ramps from 10dmm to 40dmm, dirt on the stone tops (here and there: it lies only where a top is flat and clear of every lip).

What it looks like

The cliff is built from broad, interlocking masses of stone of very different widths, not a pile of round boulders. Joints run mostly vertical, broken by short ledges. Columns of stone step forward and back, so the face casts deep shadows. About a third of the face is broken into clusters of smaller stones and cracks; the rest is quiet, flat rock. Edges carry a few crisp chips. Dirt lodges on the top and in hollows, and angular scree of the same stone lies at the foot.

No two seeds make the same cliff, but every seed reads as the same stone.

Shapes

One generator stacks every shape. The shape is the region and the band.

ShapeHow it is written
runa region within "[10dmm .. 20dmm]" of=northEdge, band $dirtEdgeHeight + 35dmm
cornertwo within lines (two edges) in one region
canyonthe west and east edges, "[8dmm .. 14dmm]"
escarpmenta run whose band ramps: $dirtEdgeHeight + 10dmm + 30dmm * sin(90deg * $x / 2) + [-4dmm .. 0dmm]
plateaua disc within "26dmm" of=center, one height
massif, mound, spireregions drawn as lumps, not circles: the outer one the cliff's own band, each inner one a pin with a wide band over it (the library tiles are drawn by hand)
needlesthe pillars' feet as one region, a pin to each summit

Using it in a tile

A cliff fills a region, its face toward the open ground. This is the library's run: the dirt is given a wide band across the apron beside it (the bank, drawn) and held at the standard edge height where the cliff meets the tile's edge, the cliff is a plane of stone tops 35dmm over the edge height, and dirt lies on its top:

dharmatiles version="1.0.0"

tile size="2x1" seed=1 {
    region crag  { within "[10dmm .. 20dmm]" of=northEdge }   // its depth wanders along the edge
    region apron { within "6.5dmm" of=crag }

    stack {
        base
        dirt top="$dirtEdgeHeight" {
            pin top="[$dirtEdgeHeight .. $dirtEdgeHeight + 3.5dmm]" at=apron
            pin top="$dirtEdgeHeight" at=edges             // the rim stays at the standard edge height
            scatter perSquare=45 { pebble size="1dmm .. 2.2dmm" buried="20%..50%" }
        }
        cliff top="$dirtEdgeHeight + 35dmm" at=crag {   // or leave top out: the library's 35dmm
            rock mixed                  // or: columns, blocks, slabs
            stoneSize massive          // or: rubble, broken
            shattered patches=3 width="5dmm .. 10dmm"
        }
        dirt top="$bottom + [0.6dmm .. 1.2dmm]" at=crag    // dirt on its top
        scatter at="foot(cliff)" perSquare=55 reach="4dmm" { stone size="low(1dmm .. 6dmm, 11)" }
        scatter at="foot(cliff)" perSquare=2.5 { boulder size="4.5dmm .. 8dmm" }
    }
}

A wide band makes a jagged crest: cliff top="$dirtEdgeHeight + [28dmm .. 42dmm]" at=crag has stone tops anywhere from 28 to 42 design millimetres over the edge height. A pin holds the band to a height at a place. A mound or a spire is a few lumps, each region a different shape and each pinned to a wide band (8dmm to 15dmm) that overlaps the next one's, so the stones land at their own heights and the steps read as rough crags; concentric circles with narrow bands make a wedding cake. A cliff steps to a pin; write slope "30deg" in its block to let the band ease between pins, which a stone only follows as far as it can lean.

Let neighbouring pins' bands overlap, so a stone that stands over two of them has room under the lower one's high. Write the pin's band wide enough for a stone: a stone's top is one plane, so a band that jumps across a stone (a pin's edge inside it) is not stacked across; the stacker keeps each stone to where the band holds its height.

Both ends of a run finish in the standard end section, so runs butt end to end. The stone face on the tile edge is textured to the plane and never passes it.

Reference

Kind
a layer, a surface: it paints the ground of its area
Place
at= region, line
Built
yes

Controls

ControlTakesDefaultWhat it does
topheight—the band the body fills over its region, as a height: $dirtEdgeHeight + 35dmm; the library's edge top when not written
rockwordmixedwhat the cliff is stacked from, or weights
mixed
the run shares
columns
basalt columns (provisional)
blocks
blocky granite (provisional)
slabs
layered sandstone (provisional)
rock columnsnumber—weight of tall upright stones
rock blocksnumber—weight of chunky blocks
rock slabsnumber—weight of thin tilted slabs
rock oddnumber—weight of irregular lumps
rock monolithsnumber—weight of ground-to-top stones
stoneSizepercentrubblesmall broken stones, or big masses
rubble
small broken stones
broken
between the two (provisional)
massive
big masses: 1.35x rubble size
ledgescount, 0 to 21steps down the free faces: shelves a miniature can stand on
ledges heightpercentdrawn for each shelfhow far up the shelf is, as a share of the cliff
shatteredgroup—broken patches with more cracks and scree
shattered patchescountdrawn along the runbroken patches along the run
shattered widthlength (dmm), a number, a range or a weighted rangedrawn for each patchhow wide each patch is

In the library

Generated from dharmatiles elements cliff by cargo xtask docs.

Sizes and levels

Edges and joining tiles

Rules

What this element always does. A change to one of these is a change to the element.

Printing and painting

The full printing rules are on the printing page.

How it is made

Step by step

A cliff is stacked, not carved. A form gives the height the cliff should reach; stones are dropped into the lowest pocket first, each resting on what is under it, until the pile fills the form. Because every stone is seated on its bed at the overhang limit, a stone that rests on rock has no flat ceiling to print.

Front elevation of a 70 mm run. The stacking step animates.

    The animation is a simplified stand-in for the idea, drawn in your browser; it is not the program's output. What the program does, in order:

    1. Form: the region is the footprint and the body's heaved shape in its band is the target height field (a plane for one height); the outer strip of most masses is a shelf stepped down from it (ledges).
    2. Stack: stones are placed lowest pocket first, each resting on the highest supports under it; neighbouring tops never line up, which is what makes courses read. A stone that reaches the band is fitted to it (the nearest plane inside the band over every node it stands on) as it is stacked.
    3. Columns: stones that share a footprint stand in one column, cleaved by whole planes planned once on the column's hull.
    4. Cracks: each open face of the pile gets one crack network, planned once so a crack runs on across the joints between stones.
    5. Each stone: cut to its column's planes, grooved under the stone it carries, seated on its bed at the overhang limit, chipped, carved with the face relief and cracks, fitted to the tile (scaled back, never clipped) and grained.
    6. Core: a rock layer of the terrain behind the stones makes a gap between them a recess, never a hole through the cliff; dirt laid after the cliff lies on the stones' tops.
    7. Scale: the masses scale with the square; cracks, joints, chips and grain are printability sizes and do not.

    The code: crates/dt-elements/src/cliff/.

    Seen from the language

    The guide pages that use cliff: Heights, Worked tiles.