How can you make a snowflake shape rotate to its center, with canvas and JavaScript?

后端 未结 0 1485
情深已故
情深已故 2021-01-24 01:02

I am trying to create a script that emulates snowing using a snowflake shape that rotates in its center as it falls.

The problem is that trying ctx.rotate(), rotates all

相关标签:
回答
  • 消灭零回复
提交回复
热议问题