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
-

Tom & Ben News 3.5.00.
by stfn14
-

名探偵コナン黒鉄の魚影 オープニング 再現
by 1zewqrt
-

HURRY UP!!!!!
by coolio_311e
-

Endless alphabet OC FURBY
by splashyideas
-

Spiffy Pictures.EXE Buttons Classic (Renewed Edition!)
by Itisnowmylastaccount
-

PBS Kids Dash Logo in G Major 96 Without Mirror
by veggietalesfan78
-

My Effects Kit remix
by scratchlover201403
-

Sign if u like sprunkis remix remix remix remix
by Tufftifford1234
-

MY TEARDROP PLUSH ARRIVED!
by BlueLucasAnimates
-

Burst Engine V4.4
by sonic_mania_67
-

Black Hole: Add Round 2
by oobi122
-

The cursed abomination of what is the iPhone 9 i made
by 14a0-5w55
-

Pac-Man Overhauled (READ DESC.) remix-2
by Pac-Me-Up
-

Incredibox - Sprunki CD sound test
by Aron_Studios
-

Bubble Bobble ( Alpha 3)
by vovakira
-

1 Death Egg Zone Music - Sonic & Knuckles
by FreeSoundsProject
-

Windows NT 6.0
by hbdarby
-

Best GT-R For TOS
by -Z_Guy-
-

YTPMV Beat up Edward ^2 Scan
by chris304940
-

Nokia 5800 XpressMusic Simulator V1.3 remix
by Poland7Boyko
-

Beat up dancing Ariana
by JacobFortniteMan
-

Speedy2016's Fanmade shidinn on lowercase jumpstart band (Band version) remix-2
by phantrungquan
-

(Joke) Add a button to beat up bluey siiuuuuuuuu
by arkirobros65xp
-

Beat Up PomPom, but i added more remix
by nicholasgrecu