
How to Make Your Own Raytracer: Part 1
by Geotale
Description
Note: Ever since making this, I've noticed it's not as good as I'd like -- It gives code but doesn't really explain things. I'd recommend https://scratch.mit.edu/projects/404481885/ by @SpinningCube for a raymarcher, which I personally think is much easier to understand (and in my opinion can do much cooler things) You don't have to credit me. This is supposed to be informational, so if you make your own that's fine :) @Canthiar. There's a good raytracing tutorial online, but their implementation explains what it's trying to say with functions that don't exist or I've never heard of. #ray #madness
Instructions
Part 1: Drawing spheres to the screen Press the green flag, and hit space to continue. Part 2: https://scratch.mit.edu/projects/377492127/ This raytracer so far will only draw spheres of different colors, though the next few parts should be adding a bit more. The next part should be adding planes (infinitely long ground/walls, not sharp objects) and shadows to it!
Project Details
- Visibility
- Visible
- Comments
- Enabled
More Cool Projects

David & Chris Advance Adventure Part 2 Demo
by supersonicfan203

[UNSTABLE] ☁️ YouTube Video + Audio Player
by TimMcCool

GODZİLLA ONLİNE 5
by Godzilla_Yt_

Colorful PIXEL Food Clicker v.12
by intensedecoder21

アニメ「The WeakMan」第9話「光に向かって」(THE BLUE BEGINNING #5)
by Pikurin

Life on seabed v 1.1
by DZM

Me and my brothers Mappy versions and clones tier list
by Tstetz2008

Super Mario Maker 2 - A Platformer Creator
by BenjaminWins11

楕円曲線暗号
by yukku

Beat Up EXTREME 26
by Dhyeguinho

pokemon RPG
by archmage

ADOFAI Timeline
by PHG0614

超人貓大戰貓俠大帝 完整版ver1.3(貓咪大戰爭)
by Pikaowo

Wake Up AMV [Completed MAP]
by -Rocket-

The Mandelbrot Set
by HowToLogic

Test an Dungeon Exploring Game (Update 2.5)
by Yellowkirbyyellow

Minecraft V6
by Finlay_Cool

3D cube
by V400

Котик - 2, 4 серия
by Danilka_29

Terrain V1.1 (Multiplayer / Mobile Friendly)
by ScratchTheory-

FNF Sonic Vs Mario
by Pikachar1274

Scratch cat platformer 1.2
by arzaan

Numberblocks Band Sixteenths 4.0625-5
by Trioctoblock24

Super Cube Miner 2.3.2 #2
by Mario_maker2_Fan