
3D Ray Marching (simple shapes)
by Kouzone
Description
Raymarching references: https://youtu.be/Cp5WWtMoeKg (explanation) https://youtu.be/PGtv-dBi2wE (tutorials) https://youtu.be/Ff0jJyyiVyw (shapes) Unrealistic penumbra-shadowing reference: https://www.iquilezles.org/www/articles/rmshadows/rmshadows.htm SDF functions of shapes reference: https://www.iquilezles.org/www/articles/distfunctions/distfunctions.htm Reflected ray calculation reference: http://paulbourke.net/geometry/reflected/ The rest was built from scratch for Scratch. 7-Mar-2020: Applied new rendering features from Kouzerumatsu's remix (bugfix, fresnel reflectance, out-of-focus diffusion, hq) and added new shapes: octahedron and sphere arc. ray marching marcher tracer tracing 3d math
Instructions
Hit the green flag or [space] to show parameters. Press [space] key or green flag again or tap on the middle of the screen to start rendering. This is computationally expensive, and run it with turbo mode. See Inside > Edit tab > Turn turbo mode on or just [hold shift] + [green flag click] Render time of full-resolution by multiplying render time of resolution divisor 16 by 256, approximation. It took 40 seconds for me, which means it would take ~10240 seconds to render it with full resolution. Run it with forkphorus, if you have no patience: https://forkphorus.github.io/#372144443
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

Beat Up Book 2022 Edition remix
by ThomasTheo611

30 minute timer
by VinnieJay

β€₯ RECORD PLAYER // DTAE amv β€£
by Shattered_Diamond

Optics (refraction) v0.5
by griffpatch

Beat Up Scratch Cat (38 Buttons Edition) remix
by Alfie_Ben16

Black hole add round 9
by raptorman53

Beat Up Wenda (UPD 1.0)
by AScratcherNope

Ver.2.1.1 ERU! hardmode sans fight
by _eru_L

Windows 2000 + BETA Simulator
by WAIT7777

Batman 1989 Theme remix
by zanethedude

Beat Up Granny (7)
by Tyler-Time

The Flying Sleigh β β β β β β
by kumafuji1202

Beat up Sonic With New Button (REUPLOAD/Remake)
by doheodjeoud

Armed TD - v2.5
by trussleburg

Beat up Sam (with BubbleMenu)
by newmyles

Typer Shark! Deluxe
by Tommy100

Tetris(γ²γΌγ γγΌγ€ι’¨)
by YAMAMON_P

Beat Up Scratch Cat with spiffy pasha
by Lateone12

Beat Up Edward Phase 5 V4.2 DLC RE 4.36 2026
by Mugtoff

Bren319's Spanish Alphabet Lore (cool conscepts)
by orangecatfriends

Undertale: Napstablook's House
by zachyboimaker

Untitled-2
by plsstopbanningme231

fellswap sans fight
by Rip_toppyJay

Beat Up LarryBoy remix
by everton_trader2