ScratchData LogoScratchData
Back to chiru3's profile

The Sunset

CHchiru3•Created May 15, 2021
The Sunset
5
4
33 views
View on Scratch

Instructions

Use TURBO mode to see the image. How I made this ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ The ocean uses a base color, and for the lighter areas I used randomness to put the lighter colors such as white and light blue. The color of the sky is interpolated between two colors: one at the horizon and one at the top of the image. The R, G, and B channels are interpolated separately to prevent interference. The sun is a circle. I found out if a point was inside the circle using the pythagorean theorem. The effect around the sun was made with distance, which I found using the pythagorean theorem. The colors were found out using interpolation from the circle to the local sky color based on distance from the sun circle.

Project Details

Project ID531078918
CreatedMay 15, 2021
Last ModifiedMarch 17, 2022
SharedMay 16, 2021
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root