ScratchData LogoScratchData
Back to crkcity's profile

changing perspective in a forest

CRcrkcity•Created November 16, 2021
changing perspective in a forest
14
8
99 views
View on Scratch

Instructions

Drag mouse, see perspective change in forest. Simulates 1-point perspective. As mouse moves, the code redraws trees with a fixed pattern of color lines. Move mouse right to see more of left side of each tree. Moving left to see more of right side of trees.

Description

Connects tree bases to vanishing point in one-point perspective, as in drawing. Each tree follows mouse position. Tried to simulate redwood forest. The great challenge was to draw somewhat realistic trees with bark lines that could move. To do this required setting a fixed color scheme for each of 60 lines that would constantly redraw with the same color scheme. Also had to find a color range, brightness range, saturation range that reasonably matched redwood trees.

Project Details

Project ID601854563
CreatedNovember 16, 2021
Last ModifiedNovember 26, 2021
SharedNovember 26, 2021
Visibilityvisible
CommentsAllowed