/tg/ Station 13 - Modules - TypesVar Details - Proc Details

canvas

Vars

canvas_colorempty canvas color
last_patronreference to the last patron's mind datum, used to allow them (and no others) to change the frame before the round ends.
no_saveboolean that blocks persistence from saving it. enabled from printing copies, because we do not want to save copies.
pixels_per_unitHow big the grid cells that compose the painting are in the UI (multiplied by zoom). This impacts the size of the UI, so smaller values are generally better for bigger canvases and viceversa
show_gridWhether a grid should be shown in the UI if the canvas is editable and the viewer is holding a painting tool.
usedIs it clean canvas or was there something painted on it at some point, used to decide when to show wip splotch overlay
zoom_by_observerA list that keeps track of the current zoom value for each current viewer.

Procs

get_paint_tool_mediumGenerates medium description
select_new_frameWe give the curator(s) a cut (unless they're themselves the patron), as it's their job to curate and promote art among other things.

Var Details

canvas_color

empty canvas color

last_patron

reference to the last patron's mind datum, used to allow them (and no others) to change the frame before the round ends.

no_save

boolean that blocks persistence from saving it. enabled from printing copies, because we do not want to save copies.

pixels_per_unit

How big the grid cells that compose the painting are in the UI (multiplied by zoom). This impacts the size of the UI, so smaller values are generally better for bigger canvases and viceversa

show_grid

Whether a grid should be shown in the UI if the canvas is editable and the viewer is holding a painting tool.

used

Is it clean canvas or was there something painted on it at some point, used to decide when to show wip splotch overlay

zoom_by_observer

A list that keeps track of the current zoom value for each current viewer.

Proc Details

get_paint_tool_medium

Generates medium description

select_new_frame

We give the curator(s) a cut (unless they're themselves the patron), as it's their job to curate and promote art among other things.