rotate() 함수는 현재 원점을 중심으로 현재 좌표계를 회전합니다.
기본적으로 원점은 캔버스의 왼쪽 위 모서리라는 사실을 알아두세요. 캔버스의 가운데를 중심으로 회전하려면 먼저 좌표계를 이동한 다음 새 원점을 중심으로 회전해야 합니다.
회전(Rotate): Revised by Darren Kessner. Edited and maintained by p5.js Contributors and Processing Foundation. Licensed under CC BY-NC-SA 4.0.
You can find the code history of these examples here: 2023 code, pre-2023 code. You can suggest improvements by contributing to the current website!