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
-

Windows Startup And Shutdown Sounds 1.0 remix
by sussycat_432
-

Looney Tunes Intro (1947-1948)
by Jaydeno113
-

Windows10 ASUS TransBook ver.
by emricnoah
-

Seadtype V13.1
by knightscastle2425
-

Minecraft java edition
by chunkyavocadoalt
-

asgore fight v2
by icadbobo
-

Add Yourself Singing Plagiarize (Mq1349+Rogot_Sprunki)
by Mq1349
-

Beat Up Fill In Memes (15)
by ReedFailor
-

Taiko no Tatsujin 太鼓の達人 私は最強(創作譜面)
by kirumedao
-

My Teardrop vectors :D remix
by PosieArt
-

AI Numberblocks Band 3
by AdrianC_Numbers
-

#sick-beats: FLAVOR FOLEY - weathergirl
by mentoskylieprime
-

Scratch Band Scratch-Pico
by Jaidenscoolthings
-

Spiffy Pictures.EXE Buttons Part 1 (OF2025's Take)
by omegaflowey2025
-

7-Eleven on Free Slurpee Day
by Duckieduck007
-

Geometry Dash Assets
by salma-177_304
-

Saying all numbers from 1 to 400 with EVERYONE! (106)
by TBASF-10
-

Footsoccer (BETA) #games #all
by helicopterBob
-

Platformer Ideas
by 262015_Test
-

Jewelry collection! 宝石集め!《放置ゲー》《スマホ対応》
by tyeda1225
-

hide and seek
by LGRRN
-

Talking Tom Cat 2 in Scratch Version 1.0.1 (RELEASED!) remix
by Jptypro1
-

Interactive Endless Letters (Lowercase) Pibby mode
by smartyworld3
-

Minecraft 0.9
by P-P-C