Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Rotation | Geometric Transformations
Geometric Modelling with Python
セクション 2.  4
single

single

Challenge: Rotation

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

Practice applying geometric transformations by rotating a triangle by 90 degrees. Use the rotate_point function to rotate each vertex of the triangle.

  • The rotate_triangle function must take a list of three points and an angle in degrees.
  • For each point in the triangle, use rotate_point to find its new position after rotation.
  • Collect the rotated points into a new list and return it.
  • After rotating the triangle, use plot_triangles to display both the original and rotated triangles.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 2.  4
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt