Description
Thanks to @griffpatch for the "Find Normal" block. Check out @squirrelsRcool's similar project: https://scratch.mit.edu/projects/877109780/ This project is a 2D path tracer. Every frame, many samples are explored and accumulated. For each sample, a ray is sent in a random direction from the light source, after which it bounces several times off of the scene surfaces. This simulates the phenomenon of global illumination. For each bounce, it loses a bit of intensity, picks a random direction from the surface, and goes in that direction. I use the pen extension to trace the light paths and illuminate the scene. I designed various scenes for the light to travel through. Some look more like floor plans, others are more abstract. For the thumbnail, I ran the simulation in Scene 11 and took screenshots at different durations. The final image is a combination of all the images which I made using external software. It's kind of like merging multiple exposures to make an HDR image. #Math #Simulation #Light #Lighting #Ray #Raycaster #Raytracer #Raytracing #Raytrace #Global #Illumination #Reflections
Instructions
Use Turbo Mode by either: - shift-clicking the green flag - See inside > Edit > Turn on Turbo Mode If you want it to run even faster, use TurboWarp: https://turbowarp.org/650323522?hqpen&turbo Hover your mouse in the upper-right corner to reveal the "Scene" slider. You can also drag the light source to a different position.
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects
-

AYS: Missingno [v2]
by Shawnic_Hedgehog
-

Adventures in Bayclan- The Leader's Call (remix)
by RnCs5y24St24
-

Klasky Csupo Nightmares 3
by the_taco_official
-

Paper Minecraft Pocket Edition 1.5.0
by lukecomputer
-

Talking Robert
by Luker0707
-

My New Endless Music Note V1.1
by JaydenGamerzTube
-

Cartoon Network ROBLOX Season 1 DVD Menu
by BlobComedian3
-

Samsung S24 Ultra Early Access v0.1
by Apple_Factory
-

Endless numbers band 2
by 32OctoOfficial
-

Take Care Of Your Corgi!
by Noodles_Chopsticks2
-

Decimal Base Converter (200 Update)
by YupekosiReal
-

Endless Music Maker - Twinkle Twinkle in A Major
by chrisdberry
-

MYO: Total Drama All-Stars
by StylishOlivia
-

AndreiAnimate's Friday Night Funkin' 10.340
by andrani-tmro
-

deltarune Gerson fight
by gatodebazuca
-

Beat Up Buttons (11)
by elevatorkoneecodise
-

the mine song but everything is smol remix remix
by lolsmonster321
-

Screen generator
by schbx
-

Triangle video displayer v1.0 || by GonSanVi
by GonSanVi
-

PBS KIDS LOGO DOT LOGO (1999) remake
by Watermelon_CherryUwU
-

Five Nights at Kongs
by camdenbot56
-

SPMY! sans fight
by llll1560
-

Super Survive IO
by mbtp
-

Five Nights at Husky's [OG]
by BendydrewScratch