diff options
author | elioat <elioat@tilde.institute> | 2024-12-24 16:32:48 -0500 |
---|---|---|
committer | elioat <elioat@tilde.institute> | 2024-12-24 16:32:48 -0500 |
commit | 9c2002f6010d2b117b75195888f3ccb4044cccf5 (patch) | |
tree | d944678a93707a631145f888ffad84416851be3e /html | |
parent | 1e21f6aabd88a0c7398ad90e2c63bb806d9ead11 (diff) | |
download | tour-9c2002f6010d2b117b75195888f3ccb4044cccf5.tar.gz |
*
Diffstat (limited to 'html')
-rw-r--r-- | html/rogue/js/world.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/rogue/js/world.js b/html/rogue/js/world.js index 6dbc8ee..f68ece6 100644 --- a/html/rogue/js/world.js +++ b/html/rogue/js/world.js @@ -672,8 +672,8 @@ const renderMapleTree = (ctx, tree, groundY) => { leafClusters, trunkColor, canopyColor } = config; - // Draw trunk base - const trunkWidth = width/4; + // Draw trunk base with narrower width (changed from width/4 to width/5) + const trunkWidth = width/5.5; ctx.fillStyle = trunkColor; ctx.fillRect( x - trunkWidth/2, @@ -682,7 +682,7 @@ const renderMapleTree = (ctx, tree, groundY) => { trunkHeight ); - // Add trunk hatching + // Add trunk hatching with updated width addHatchingPattern( ctx, x, |