# Create the shadow gradient from top-left to bottom-right # This simulates the curved shadow of the Earth. Circle(200, 200, 90, fill=gradient('black', 'transparent', start='top-left'))
Kaelen, a sophomore majoring in Chrono-Magic, adjusted his spectacles as he poured over a dusty tome. His roommate, Elara, a gifted Alchemist, was pacing the floor, her eyes reflecting the crimson glow filtering through the stained-glass windows. 1.2.4 Blood Moon Cmu Answers
Finally, they reached the heart of the vault. There, resting upon a pedestal of moonstone, was the obsidian tablet. Its surface was etched with glowing runes, each one representing a fundamental truth about the Blood Moon’s influence. # Create the shadow gradient from top-left to
Using Circle(200, 200, 100) for the moon but Circle(150, 150, 100) for the shadow. Result: A lopsided eclipse. Fix: The shadow should either be the exact same center coordinates or slightly offset (by 5-10 pixels) to simulate the progression of the eclipse. Finally, they reached the heart of the vault
Blood Moon exercise (Topic 1.2.4) in the CMU CS Academy curriculum focuses on using RGB colors to create a multi-layered sky and ground effect. Course Hero Correct Code Answer
Before we look at the answers, let's analyze the problem statement typically found in (often part of the "Shapes" or "Properties" section).
To complete this exercise, you need to draw two rectangles with specific linear gradients that blend named colors with RGB values. # 1.2.4 Blood Moon Solution # Top part (Sky) , fill=gradient( # Bottom part (Ground/Water) , fill=gradient(rgb( Use code with caution. Copied to clipboard Step-by-Step Breakdown Draw the Sky (Top Rectangle) starting at the top-left corner Set the width to (full canvas) and height to Use a three-color gradient: 'orangeRed' , followed by a dark reddish-brown rgb(60, 20, 20) , and ending in Draw the Ground (Bottom Rectangle) Place this directly below the sky at Set the width to and the height to to fill the remainder of the 400x400 canvas. Apply a two-color gradient from a brownish-orange rgb(150, 50, 0) to a deep blue rgb(20, 20, 100) Configure Gradient Direction Both shapes typically use start='center'