Skip to content

Commit

Permalink
木の形を縦長にするために正三角形をやめて縦と横の長さを同じにする
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu09 committed Dec 10, 2023
1 parent ef9952f commit 6b83c3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/tree.rb
@@ -1,6 +1,6 @@
def setup
$xSlide = 80
$ySlide = (Math::sqrt(($xSlide)**2 - ($xSlide / 2)**2)).ceil
$ySlide = 80
$split = 9

createCanvas($xSlide * $split, $ySlide * $split)
Expand Down

0 comments on commit 6b83c3a

Please sign in to comment.