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
-

Vyond Effects Kit [Runs All Effects] remix
by juliescott12
-

Beat up ato More Buttons
by JonDoe128
-

the fun clicker game
by rainbowplayz123345
-

PBS KIDS Eyes Effects (Klasky Csupo 2001 Effects) (FINISHED)
by BFDIEditor12
-

45 Buttons Beat Up Seven remix
by xmralexx
-

Add yourself crushed by random things (39)
by MakeingDone
-

the full unused RALR cast! remix
by jade101717jade
-

AY in Lava Tower! [Remix 0 | 6 Players] remix copy remix
by biggestnumberblock
-

Beat up Squidward.
by 124674464
-

Nickelodeon Creatures Sprites
by siddharth1717
-

BFB Sandbox
by RoPaScTV
-

Rocket League
by -W-Games-
-

Beat Up Edward Remastered remix
by noattitudes
-

DELL WINDOWS 7
by gamer25192
-

superfighters-2
by brandonnn_12
-

Beat Up Scratch Cat Plus (Official) v1.1
by BarneyBlockReturns
-

Beat Up Scratch Cat v1.35 (13+) (UPDATE) remix-4
by sneakypete2012
-

✨街づくりゲームゲーム✨スマホ対応 PC対応 v1.03
by tnt196
-

Free to use buttons for beat up games (SMG4 and Dark pit update)
by peggraz51
-

Nano makes everyone poop (RE-UPLOADED)
by dannytheanimator5
-

EAS alarms animated part 4
by bfbtpot3
-

My German Alphabet Lore Sets (KUMPELS)
by Kingsusiepen2007
-

Tera Stomach Gurgling
by ritafan5284
-

Stray kids meme
by -Hannie_SKZ-