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
-

Window XXP and Windows XXP Plus Startup and Shutdown
by Szonjaugo
-

VHS!Sans - The Hacker's End Ost - In order
by UrsaVorDerSturm
-

Wither Storm Files remix-13 remix
by Wither-Storm99999
-

PBS kids dot VS WALTER90007
by JoshuaTorres30
-

My Effects Kit remix
by ElGatoTheGaming123
-

Zer0's Wither Storm Official Ver.(1.1.0)
by Zer0_BRUH_b0i_k4rm4
-

We Become What We Behold But Better
by MasterMan2023
-

Pac-Man
by EY2025
-

Beat up coral remix-2 remix remix remix remix
by everton_trader
-

Sprunky GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOIMAD 4
by IMADSHAH
-

Number Decimals Band Episode 7: Part 5-6
by marques_k_provost
-

Uncannyblocks band Pie different 2
by Omnishiba747
-

MPAA Sprites remix fixed
by endcreditslogos
-

BEAF lngi
by thatoneaccount17171
-

20th century Fox logo 2.5d remix
by LiYi12
-

Fidget Spinner Simulator
by KittyKata12
-

Square ◆ scrolling platformer creator #games
by StratfordJames
-

鉱石クリッカー バージョン1.5
by kariru
-

cr33p3rz Wither Storm Simulator (Happykid48 stye V1.2 beta) New updated
by halo_wars
-

Windows Virus
by Pandaawiththeak47
-

Beat up Scratch Cat remix
by cs1692937
-

The Studio Doors of Numbers (69)
by hiimjck2
-

talking tom and ben news 8: edición extendida remix remix remix remix
by kuponoIs
-

Scooby Doo Pa Pa (My version)
by Juanmiguels_0905