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
-

Add a button to Beat up Bendy (5)
by Mugtoff
-

aint no way now its osu mania
by 305No
-

Windows 11 XP Edition
by exa2023_05
-

Endless Arabic fixed
by NumberjackFan2024
-

Temu TFan C7 Spin test (very very low quality at da end)
by AMINF2842D
-

abc band 1
by majidsalisu
-

The Password Game
by PixelPenguin21
-

Elmo's world 2016 school song fixed!
by 13and14plus15
-

samsung s6 vector
by bizxiostudios
-

Talking Tom and Ben News: hey duggee edition
by -fungaming879_
-

Blue Mist Infinities Jumpscares- part 0 - the infinites SAGA
by BeABattery_fan
-

Jolly Numberblocks 5-10 Recreation
by ZeroThAlt
-

187 skybox band but an idiot updates it 2
by Normalest
-

Mixels Intro S1,2,3,4,5,6,7,8,9 Parts remix
by ScratchCamilot2005
-

BFDI / BFDIA / IDFB / BFB Contestant Generating Game remix
by pdorito
-

hep hop cat
by eoghant
-

FFT: Realtime PCM samples playbacker
by Kouzeru
-

[SH3]史縫 偽心静黙 ~ Wearing a False Self
by AT-8
-

Spiffy Pictures.EXE Buttons C
by vivoscolores2
-

Five Nights at Eddy's: Night 1 (1.6)
by EpicEddy3
-

✦ Intro for kumanomikun622
by nanakusa03
-

Beat Up Squid 0.3.0. Complete remix
by CM_24_JV063
-

Angelas Valentine
by Creeper_power
-

(Stop Watching This!) Mouseheadz Crying remix
by cyeargain30