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
-

Beat up Squidward 1.2.1 game! (i love trees update)
by Comdu160
-

AY in Space Scrimmage Remastered! (Remix 2 | 11 Players)
by Chumax6939
-

Make Your Own BFDI ..2015 Edition!
by Bfdi_RecomendedPeps
-

Numberblocks plus
by super_Monkey_
-

Baldis Basics Plus 2D 0.5.4
by Ben65DaWinner
-

Warrior memes
by auttumm_
-

tug of war
by sxottie
-

beat up applepenciliwant124 remix remix remix remix remix remix
by everton_trader
-

beat up more buttons remix remix 49x remix
by XavierRDL
-

Windows11 JP
by nfslf
-

I need someone’s help with nickelodeon creatures and word morph letters
by jltheross
-

Yearblocks band 2026-2040
by ArthurTube86
-

3D Plane
by Leed957304
-

Minecraft Survival
by wooseeki
-

edit a button to beat up ME D: remix remix
by mikey_mike
-

LEGO Platformer
by Capt_Boanerges
-

Warrior Cats Murder Mystery
by TheNiceUnicorn
-

jsab - try this
by osatoudaisukich
-

Apple Watch
by bartman2854
-

Deltarune engine (PRESET)
by tripoid
-

Russian Alphabet Lore Reacts to their future child 1
by feed342
-

Beat up turbowarp 2!
by eli_sandusky
-

Black Hole Add Round 1
by Jmason2023
-

(ULTIMATE UPDATE) Beat Up Diego Leal remix
by PugYT2010