Liking cljdoc? Tell your friends :D

plotter-utils.quil


create-hpgl-graphicsclj

(create-hpgl-graphics w h path)
source

do-recordclj

(do-record w h outfile f)

Record quil sketch as HPGL instructions in outfile. w and h are not scaled, so the units in the outputted HPGL file are those which are used by quil. These can be further scaled by using IP and SC instructions.

Record quil sketch as HPGL instructions in outfile. w and h are not scaled, so the units in the
outputted HPGL file are those which are used by quil. These can be further scaled by using IP and
SC instructions.
sourceraw docstring

doc-heightclj

source

doc-widthclj

source

record-manyclj

(record-many states w h f & {:keys [out] :or {out "generated/out-####.hpgl"}})

Given a seq of quil states, call f repeatedly with each state, recording each call into HPGL instructions. HPGL instructions are outputted as separate files using the optional parameter out as a template. f should accept two arguments: state, the current iteration of states, and out, the path to the current to-be-written outfile.

Given a seq of quil `states`, call `f` repeatedly with each state,
recording each call into HPGL instructions. HPGL instructions are
outputted as separate files using the optional parameter `out` as
a template. `f` should accept two arguments: `state`, the current
iteration of `states`, and `out`, the path to the current to-be-written
outfile.
sourceraw docstring

strip-init-instructionclj

(strip-init-instruction hpgl-cmds)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close