Posted March 04, 2020 by frankiezafe
#dev #notes
Version 0.2 will include a configuration editor presenting the number of segments to draw before changing direction.
Currently, it's quite complex to add or remove segments to an existing design.
The configuration of a design will be a dictionary containing these keys:
for instance, this design:
can be regenerated with this configuration:
{ dir:[2, 1], gap:15, length:60, switches: [2, 2, 2, 1, 2, 1, 1, 2, 3, 2, 2] }
update
first implementation is done (see commit cea9afdb)
UI as been adapted to be able to play with it:
initial generation:
changing the last number of u-turns
changing the maximum number of segments