The code changes are pretty small though they took me a bit to get correct. The
scale was easy enough. I modified the cylinder's x scale to be 1 quarter of what
it was before. The z notation I originally applied to the cylinder, but that
wasn't correct. That rotated the cylinder around its own center. This gave an
interesting result but wasn't what I was aiming for. The proper rotation was to
simply not rotate the petal itself as far along the z axis, rotating 70 degrees
instead of 90.
小さな変更ですが完成するまで少し手間取りました
スケーリングは簡単です
円柱のscale.xを以前の4分の1に修正しました
私が元々円柱に適用していたrotation.zは誤りでした
この回転では円柱はその中心を軸に回転します
興味深いとは言え意図に反する結果でした
花びらをz軸に沿って
回転させる角度は90度ではなく70度です
程式改寫的部分不多,但我花了不少時間弄對
縮放不難,我將圓柱 X 方向縮放改為 1/4
我原本將 Z 旋轉施加在圓柱上,但這樣不對
這樣會繞著圓柱中心轉
結果有趣,但不是我想要的
正確的旋轉是不要沿 Z 軸轉那麼多
轉 70 度即可而非原來的 90 度