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
-

88888 lol v69420 Version all 1
by issy-shark
-

Beat Up White F (ghostbusters85's Imposter Clone) 2
by amirkairov2023
-

Mixels Intro S1,2,3,4,5,6,7,8,9 Parts (Remastered) remix
by GinoRHernandez
-

Beat up black V2
by userfiona
-

Beat Up BND EXTREME remix
by bonzi346
-

Sky's Countdown to 2025 - Final
by SkyPPTOScratch
-

Sans Boss Fight [story re-designed]
by -Scratch--Username
-

rango Invincible Title card
by billcipherwddles1
-

【傾向1p、アニメ傾向2p】ネタが思いつかんくて今これ ナルトダンス(復帰記念
by kinoko_6349
-

Arthur's Dateblocks Band 159
by TheReturnofAT
-

OBJ Viewer (wireframe)
by ajzat25
-

3GG Ep. 7: 3 Misbehaves at breakfast
by Khari3
-

BFB Intro but Everyone Has a Stamp Trail
by 0bject-User
-

Explore the Backrooms V.1
by ProgramsNGames
-

Cat Mario (Syobon Action) remix-28
by VsFamily165-SME
-

The Studio Doors of Numbers I - Part II (183 Doors) remix
by bfdi041
-

オセロ
by 1ken
-

the (nearly) impossible lock
by theclanoffour
-

Lyrics Taken Literally
by SavageDLX
-

Klasky Csupo Robot logo 4000 Error! But SpongeHell TheBob has a klasky error
by leonwawi
-

文字認識 (OCR) ver 4.0
by Jinenjo_000
-

*桜のプラットフォーマー/Cherry blossom Platformer*
by haru1633
-

Magic Tiles 3 remix i LOVE the origianal
by thekoala_BOY
-

My Serbian Alphabet Lore
by KhatounationsCreator