(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close