fix: Improve labeling of line segments (#54)
Gets all of Joyce through Book V working. Reviewed-on: #54 Co-authored-by: Glen Whitney <glen@studioinfinity.org> Co-committed-by: Glen Whitney <glen@studioinfinity.org>
This commit is contained in:
parent
b1e480a4be
commit
a9a5a3584f
@ -378,7 +378,8 @@ function jToG(
|
|||||||
when 'line'
|
when 'line'
|
||||||
(`Midpoint(${name})`
|
(`Midpoint(${name})`
|
||||||
+ ` + Rotate(Direction(${name})`
|
+ ` + Rotate(Direction(${name})`
|
||||||
+ `*Length(${name})*0.02, pi/2)`)
|
+ `*Length(${name})*0.025/Length(Direction(${name})),`
|
||||||
|
+ `pi/2)`)
|
||||||
when 'circle'
|
when 'circle'
|
||||||
(`Center(${name})`
|
(`Center(${name})`
|
||||||
+ ` + Radius(${name})*Vector((12/13,5/13))*1.03`)
|
+ ` + Radius(${name})*Vector((12/13,5/13))*1.03`)
|
||||||
|
Loading…
Reference in New Issue
Block a user