Some dfhack scripts from friends of keupo on twitch
note: any of the drawing commands can be appended with a digging designation [dujihrx] at the end, or will default to 'd'
for example, digshape star 5 2 j will dig a 5 pointed star out of downstairs with the mark as the center and the cursor as a vertex on the star
digshape ?
digshape origin
digshape line
from cursor to mark
digshape ellipse [filled]
cursor and mark as bounding box
digshape major
set the major axis from origin to mark, must be horizontal or vertical
digshape ellipse3p [filled]
draw ellipse using marked major axis and current point as the minor axis radius
digshape circle2p [filled]
draw a circle using origin and mark as a diameter
digshape polygon <n sides>
mark as center and cursor as a vertex
digshape polygon <n sides> apothem
mark as center and cursor as a midpoint
digshape star <n sides> [skip=2]
in Schläfli symbol notation mark as center and cursor as a vertex
- flipvine
- Qvatch
- keupo
- flavorstreet
A Fast Bresenham Type Algorithm For Drawing Ellipses, alternate link, also in resources/belipse.pdf
Writeable Bitmap Shape Extensions used under the MIT license