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
-

Make Your Own BFDI/BFB remix-2
by BlueN10
-

Incredibox - Sprunki but everyone has become a computers
by infotube
-

talking tom and ben news 8: edición extendida remix
by jackthemeepyboi
-

Seadtype V19.0
by stevenrobloxisback
-

Artificial "fan-VISUALISER" cuz why not?
by SUNKY_PRODUCTION
-

Symbol lore GAME!!!!! remix-86 remix
by infinateyyy
-

black sapphire cures your depression
by GPE_sb3
-

Geomerty dash wave ( SLAUGHTERHOUSE ) NOCLIP
by GEODASH654321
-

Bfdia 6
by Himper_SILLY123
-

Shucks but scratch 12+ wip 5
by CJJR-GOD-777-OG
-

Twister Run | tornado chasing
by masonaura25
-

Solar Object band part 5,5 (remake)
by TheShrew2
-

(ARCHIVE) Coolmath Crusade / Chain of Memories OST - Can't Stop the Feeling (Movie Credits Ver.)
by LazyEyeArchived
-

Among us v0.36
by PIXOYOUTUBE123
-

Tusk Simulator (JoJo Part 7)
by NotRyanZeLion
-

Super Mario 64 HUD Test v2.0
by YG777
-

The Great Scratch Beat Em Up
by LionOte
-

BFDI Balance Beam Randomizer But Its A Mario Party Minigame
by smgash5
-

talking tom and ben news remix-2 remix
by dionellbebe
-

Beauty and the Beast
by MagicPanda72
-

My Full RALR Cast
by Littlehanger1234Lore
-

これって珍しいの?
by support-account-jp
-

Paper Minecraft 1.20 remix
by stulive813
-

[オンライン氷鬼] サーバー1 ver1.40
by huaiyaaaa