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
-

Mario and Sonic at the olympic games level one remix
by poppymike
-

jimmybox v2 "Obama's last name" REJIMMIFIED!!! remix
by gamerjames2023
-

Samsung Galaxy Victory
by Blueboy726
-

#279]音MAD4作目「ドックリー&深夜の怪物&nds-207でred zone]4
by nds-207
-

Seadtime Font V5.2
by crazymilkandres
-

Scratch_Arcade!
by Hey_20
-

Plants vs. Zombies: The Last Stand (2d Remake)
by _Peashooter
-

Truck Frenzy
by 06-beatriz-mr
-

AY: Bubble Trouble [ Remix #10 | 39 Players ]
by saharraza1990
-

Human Wenda Gets Explosive Diarrhea remix remix
by antcoolkid2015
-

Everybody counts! (Mini version)
by Gushow
-

Little Green T Does The THANOS BEATBOX But A Butterfly Landed
by TheSALRFan
-

Gumball warns kids not to watch Mr. Pickles remix
by MyCottage
-

Irish Cat
by snhazell
-

☁️ Getting Over It Multiplayer Edition 4.2
by Ezlambry
-

スマホ対応!しょぼねこのアクション6
by bitamon
-

BEAT UP PICO! 2
by Boogadeehee
-

Among Us V.04
by aaking1505
-

Updated OC!
by Lasercartoon127
-

Beat up Edward QERI 2
by hyd3ns33k
-

MOONWALK
by Thebenjiball
-

Monster Vehicles 5
by Linesta
-

Dust sans and ink sans
by EHCat004
-

My Talking Edward
by ImFlashed