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
-

Spanish Alphabet Lore - The Prolouge!
by thethecreator2ndacc
-

Remix and remix nothing found
by berniek7
-

Beat Up Anti-Gabriel! v2? / 16 Buttons
by ThisisJoeyProject
-

My Serbian alphabet lore 1.0
by diana038
-

Sprunki (deluxe edition)
by kamilb111
-

Skibidi toilet
by Tgraw_and_Tgrae
-

1.7 |Angry Birds Classic Hd| #games remix
by leokryz
-

The Mama Show Episode 8: Super Blue Mama Credits
by P-XH_Part2_Finale
-

Mario Maker Stupid
by ismailK021
-

マイクラ1.20/ Paper Minecraft V1.20 remix remix
by 2425sms-4a27
-

omega flowey battle multiplayer
by ottid64
-

Scratch: when your to good
by CJJR-GOD-777-OG
-

Day 7 of making Pride Flags into cats
by warriors_moonlight
-

[3D]ボールころころ3
by s00384206
-

Beat up Tera!
by ICEESS
-

ALL SONIC TWIST CONTINUES
by ckyle108
-

Robot Destructor PLUS
by cat-stembr
-

NBB Jumpscares Simulator (Version 0.0.9)
by AlexFar3101
-

1v1
by dogsruletheworlds
-

Akinator on Scratch (ScratchAttach project)
by 98129182
-

Beat up Squidward (Add a button) [26]
by sumcaznis
-

Ukrainian Alphabet Lore for @bren319 (add more stripes)
by SillygooseMike
-

Blue Mist Plus Part 11
by NewFeo123
-

Geometry Dash Silent Clubstep III
by KashMoney0223