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
-

BBC1 clock (1991-1997) remake
by YongJun9844MY
-

AY in Barrel Extravaganza: Summer Edition! [ Remix 11 | 40 Players ]
by MaxZGaming
-

Samsung Mobile startup/shutdown soundboard 1990-2094
by HanifFaisal80
-

Endless Arabic fixed
by NumberjackFan2024
-

Angry Birds Classic
by RandomSuperMarioFan
-

Make Your Own BFDIA remix remix remix
by DeathPACTisGOAT
-

MUSIC MAKER 3.47
by 1651827
-

Endless Numbers remix
by texties17
-

Add a button to Beat Up Bimooo! (3)
by tiziland009
-

逃走中(ミッション有、2人まで)
by kibidango
-

☠ Scratching Dawn Remake | Ep 2
by M_axj
-

Pac-Man Classic (Credit to Bandai Namco)
by Taylor_Scratch_21
-

⚡The Studio Doors of Numbers Part 8⚡
by vmax2019
-

What If? VTech Teletubbies Dome (2003)
by Chooks123456
-

FNF Ballistic! (Playable)
by shadowmask1234
-

Cool project
by Handy2000
-

Castle of Shadows
by Will_Wam
-

LEXIA CORE 5 level 72 rainbows in the sky
by ronin1122
-

Custom SMB1 Sprite Pack 3.0!
by superMarioAustin
-

Game Gear Sonic Maker remix-2
by rhoover14
-

Beat Up Wheelz V1.1 remix
by kidsschoolsora
-

Beat up scratch cat V2.3 (My Ora Ora Ora Edition)
by hyd3ns33k
-

Windows 7 2024 Edition Trailer
by GibberScratch
-

FIXED ROOSTER SOUND
by Niko_animation