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
-

Numberblocks basic 13
by berniek7
-

Another rewrite animation | #VsRewrite #Animation #Fnf remix
by sonicfan361991
-

Wither storm alpha 0.02 wip
by SusanJenJen
-

BEAT UP DORA! +
by FVCS3H3
-

Numbericons 1-1000
by jayden2015paul
-

Beat Up Winnie The Pooh Plush (New More More Hyper Mega Button UPDATE) remix-4 remix remix
by kubakoodziejczak
-

Flush taylor swift down the toilet
by meepsheep321
-

Beat up my Tom 2 remix
by jacejim1809
-

Nintendo Swich! (v1.2)
by Meowy_24
-

AY in Free-For-All Elimination Deluxe![ Remix 7| 16 Characters ]
by DAandAA
-

物が降ってきた時の対処法
by koneaki3
-

Geometry Dash Sonic Wave
by real-name1239
-

Days until my Summer Break Band: 3 Days
by RedDogAssistant2009
-

Number Evolution: Counting By 20’s ( 0 —> 20 )
by sugarbreadman
-

Soft Sign Part 2's Recreated File Add Round 120
by Samuel30032014
-

sprun key pyramix remix
by OrensHotdog
-

Guymba is HUNTING! (Remix)
by aot_rules_mha_drools
-

Beat Up Bonnie: Deluxe 3
by Dylan2020crew
-

Talking ABC (Feece) remix
by jjones27026
-

Athletic Theme (Super Mario Bros 3)
by Planet-Earth
-

sky ボールころころ6
by skyblueball2
-

FNF: VS. Dave And Bambi Test: Bambi [Update]
by DominicRaul24-2
-

Alphabet Lore Sprite Pack
by Addydosestuff1234
-

Pet The Peepo Meme Template (READ INSTRUCTIONS) remix-12
by Traw2016