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
-

Spongebob: Intro Paradoy talking tom and friends Multi-Language
by AlvinSpongebob
-

Nelvana (2006) Short Logo Remake
by carterbecker2010
-

take care o chili doge
by arizona0_28
-

Endless Arabic fixed
by NumberjackFan2024
-

Angry Birds EPIC FIGHT!!! Part 2
by DavidsFlame
-

Baldi's Basics: NULL STYLE with WASD
by tomifandesprunki12
-

(Turbo Guage) Toyota GRMN Vitz 2018 speedometer remix
by ReginaldCooperbottom
-

Cool-dude-178 Clicker! | #trending #games #all
by Cool-dude-178
-

The Mine Song - Animation
by OrdinaryPotatoChip
-

Super Pixel Aquarium 2.0
by funpop123
-

Scratch_Reviewers
by Encarn22
-

Talking Ben The Dog: In Scratch Version 2.1.5
by DatDipsyGuy
-

Azurus ~ A tile scrolling game v1.1.1
by JJJwong
-

KyleWare: Ultimate Microgames 2!: Album - How It Works v2
by MTVWorld
-

Beat Up Olaf
by zander_onspot
-

Tower Defense
by AbiK12
-

Kirby on Scratch 2: Widescreen Remix
by Matthotmess
-

【プラフォ】チェンソーマン プラットフォーマー/Chainsaw Man Platformer( モバイル対応)【神クオ】™
by dragonTAN0211
-

FIFA League v1.1
by Dude130Tv
-

Beat up Sonic (2)
by mavincraft34
-

Windows 11 lite
by Antn120412
-

Beat Up Edward REMASTERED v0.1 PUBLIC ALPHA
by FussyYT
-

Build 3D
by build100
-

Beat up Yellow remix remix remix
by ptv_23