mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-28 17:57:11 +02:00
Get use of trunk color.
This commit is contained in:
parent
f0b3d19b15
commit
ce42f4fbc6
1 changed files with 4 additions and 1 deletions
|
@ -38,4 +38,7 @@ class Tree(Tagged):
|
|||
|
||||
if (circumference := self.get_float("circumference")) is not None:
|
||||
radius: float = circumference / 2.0 / np.pi
|
||||
svg.add(svg.circle(self.point, radius * scale, fill="#B89A74"))
|
||||
circle = svg.circle(
|
||||
self.point, radius * scale, fill=scheme.get_color("trunk_color")
|
||||
)
|
||||
svg.add(circle)
|
||||
|
|
Loading…
Add table
Reference in a new issue