6.3.5 Cmu Cs Academy -

In CMU CS Academy, exercise 6.3.5 Triforce is a programming task in Unit 6 (Groups & Motion)

that requires you to animate three triangles (polygons) using statements and property changes.

The "story" of this code is about three separate pieces of a legendary artifact moving through space and rotating until they reach their final destination. 1. Identify the shapes The program begins with three triangles named bottomLeft bottomRight

. These are grouped together or handled individually to create the iconic "Triforce" shape. 2. Animate the Top Piece You must check if the 6.3.5 Cmu Cs Academy

triangle has reached its final horizontal position. If it is still to the left of the center, the code increases its angle and shifts its position both horizontally and vertically. if (top.centerX < 200): top.rotateAngle += 2 top.centerX += 2 top.centerY += 3 3. Animate the Bottom Left Piece Similarly, the bottomLeft

piece follows a specific path. It rotates and moves up and to the right until its reaches a specific threshold. if (bottomLeft.centerX < 130): bottomLeft.centerX += 3 bottomLeft.rotateAngle += 2 4. Animate the Bottom Right Piece Following the pattern of the other two, the bottomRight

piece moves into place by adjusting its rotation and position in every step until the condition is met. 5. Reaching the Final Form Because these actions are inside an In CMU CS Academy, exercise 6

function, the shapes will appear to "glide" and "spin" into their final locked positions simultaneously, completing the Triforce story. Answer Summary The story for 6.3.5 Triforce

is a motion sequence where three individual triangles rotate and travel across the canvas using

statements to stop them exactly when they form the completed artifact. full Python solution code To solve the typical 6

for this specific exercise or help with a different Unit 6 problem?

In the CMU CS Academy curriculum, Unit 6 focuses on Data. Specifically, Section 6.3 covers Data Visualization, and Exercise 6.3.5 is typically a creative or analytical task where students use Python to generate graphs from datasets.

Here is an article-style guide covering the concepts and likely objectives of Exercise 6.3.5.


To solve the typical 6.3.5 exercise, you need to combine Events (to change a variable) with the app.step() loop (to actually move the shape).

Course: CS1 (Python with CMU Graphics)
Topic: 6.3 – while Loops & Animation
Sub-topic: 6.3.5 – Checkpoint / Exercise: Using while for Controlled Animation