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
-

EGC Pt 12 1/5
by RALR_Fan_2020
-

Mii Maker
by CREADORDEJUEGOS3D10
-

Beat Up Battery Flat [18] remix-2 remix remix
by WalFan13BoxinScratch
-

Six's BFB/TPOT camp Episode 0 (25/32) remix
by tomatoboy222
-

Numberblocks maker remix-2
by cwkpurple78695
-

target ( beatings up patrick more buttons ) remix
by XavierRDL
-

Beat Up Bonzi Buddy all button remix
by everton123E
-

RUN ▞ original song by @lychiez
by lychiez
-

Counting from 0 to 1000 remix
by 7_30_PM
-

Me and TPOT-Fan-Ette doing the "I Love My Husband" meme
by TTFO2024
-

The One Who's Running The Show AMV
by MasterZenoUltimate
-

Kirby Inhales My Own Followers
by Taseless_Tart
-

SIGMA MRL Carpark Elevator
by jc401400
-

Causality (old and deprecated)
by apploepg
-

papyrus FLUSH him DOWN THE TOILET
by pap_pro21
-

FNF - INDIE CROSS [v0.3.3]
by 10Daniel10
-

Ordinal Scale (Ver. Beta 0.1) The Big Update
by PERSONNWHOMAKESGAMES
-

Endless Letters: Earth
by TeardropBFDIA
-

the full RALR cast! 22
by estan7800
-

Beat up Edward but with more buttons Remix
by REEEEEEEEEEEO
-

Add a button to beat up f! (3)
by Diddyer78
-

2023 crackers wither storm mod BETTER-remix
by ibsherzod
-

PVZ Wild Lawn Of Doom - A Halloween Special
by TheCoolGuyFNF
-

Beat Up Bowser remix
by 12tyyt