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
-

Interactive Spanish Alphabet Lore remix-2 remix-2
by CathrineStar
-

Beat up Sonic (REMADE) remix
by doheodjeoud
-

Secret Staycation Halloween ひみつのおるすばん ハロウィン remix
by Tkyk20170223
-

Seadtype V24.6
by stevenrobloxisback
-

Pibby Peppa Button
by tiziland009
-

Normal + Try Not To Laugh NBB Jumpscares
by alphabetdude2020
-

Liquid OS 2 | Liquid Glass
by bluecat1401
-

Plants Vs. Zombies PE remix+lots of color
by Shadow135AJ
-

Light Théo Grey band
by goldlimeblack
-

Incredibox - Sprunki Sinner Edition gray and wenda version… remix
by funryleigh
-

kick the buddy JURASSIC PARK EVENT -END start of school year
by bigback4141
-

Tornado Animation
by ThatTornadoGuy123
-

Scratch Tales Season 19 Episode 9: The Giant Monster
by MasterZenoUltimate
-

Beat Up Stickman remix copy
by Jeremy0214
-

fidget spinner
by cs546448
-

heat cat (better version)
by Lenny12121
-

tropical fish simulation
by NA733663
-

Mochi mochi slime【5】モチモチスライム5
by nakakouTV
-

(for tataino150) beat up android plus!
by JonDoe128
-

Other
by Ecstaticoder
-

New Super Mario Bros.
by PolskyGamer
-

Beat up stickman!!
by epic-boi-the-boi
-

4GET - COMPLETE TADC MAP
by help_the_animals
-

beat up sesame workshop.EXE
by everton_trader