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 Thin PC Remasted Sound Effects Edition Crazy Error Maker (Very Funny and G-Major Sound)
by CatCzE
-

Nuclear Reactor simulator (RBMK)
by Babanne_avcisi
-

Samsung SGH-X480 Startup and Shutdown (with animation)
by Kinitobsodlooool
-

Endless alphabet OC QUOTE
by splashyideas
-

Sans Dance
by Ninjet07
-

Spiffy Pictures Completed Collection V1.2 remix
by luxd1812
-

Colourblocks band shades white-black red 2
by victorio1125
-

brawl star remix
by 2425s4d04
-

PVZ злой
by jetcode003623
-

小田急5000形もころん号ドア開閉機構
by Ri10291029
-

Sprunki Oc 117 Remix Yam / Neo CatScratch
by TheNightz_
-

Beat Up Buba moar!
by everton123E
-

Beat Up Bonzi Buddy 4
by Macjun12
-

Wenda Treatment has a Klasky Error
by damgar2526
-

basaperial, 6
by RodolfoYT12345
-

Chapter 5 trailer music (Recreation)
by nemichan
-

БТ приколы Пилотная серия
by YellowCat2012
-

Disney Channel Original Logo
by MyDisneyChannel
-

KDGG: KittenDisney.exe Destroys Dunkin Donuts, GROUNDED!!!! remix
by moxina13
-

Numbericons 1-4200
by jaydensoto27
-

Radiation ( Underfunkin' Spin Off )
by Wah4Smashh
-

four page long beat up sonic (most epic beat up game)/demo remix
by piolalina
-

The Studio Doors of Numbers I - Part II (202 Doors) (Part II Finale) remix
by Stepsquad1
-

my talking tom news Reverse remix
by kim79a