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
-

Candybots Numbers 1-100 (41/100)
by Tufftifford1234
-

Beat Up Brisk iced Tea
by dirtotheobjectrises
-

Paper Minecraft v11.7 (Minecraft 2D)
by vibep8
-

телефон
by 057-05
-

The Duck Song 3 On Scratch!
by tomandbennewsfan6
-

Getting Over It v1.4 remix remix remix
by 181018Phantom
-

spiffy pictures.exe buttons 8
by clubawsomerises
-

Fifa Pack Simulator
by ZDM12LV
-

bad undertale wannabe
by Jackthepogchamp68
-

WHAT ARE YOU DOING LILLIA PIPER
by TheDisBack
-

Plants Vs. Zombies (pvz) v2.3 copy
by michaelronda
-

Ultra Planet Clicker
by Ultrapig15
-

爆笑短編アニメ #1041 人のものを勝手に取る奴
by ahun0918
-

Beat up Edward Omega (7)
by everton123E
-

Interminable rooms remastered/ spawner edition
by theloverofrooms
-

plane2
by daniel9ac
-

sample
by ys10050813
-

Baldi Soundboard (7/24/19)
by octoantmeleon
-

Pororo The Little Penguin Theme Song (Italian)
by blakercakes
-

The Red Sonic and Sonic show volume 1 DVD opening
by WinstonHasAGame2010
-

Beat Up Novisor 3 Remix 16!
by christywifi
-

amous us
by fk201811204
-

AY in: Punch Duck! [ Server 1 | Remix 10 | 19 Players ] remix
by allmemermemestudio
-

Create A Button To Beat Up X! [1]
by newmyles