ScratchData LogoScratchData
Back to NFlex23's profile

2D raytracer

NFNFlex23•Created June 2, 2021
2D raytracer
14
10
148 views
View on Scratch

Instructions

Nothing much, just testing out the ray-circle (sphere) intersection formula. It's like raycasting, but not sprite or list based and much faster. This is the 3D version: https://scratch.mit.edu/projects/540224710/ The only lag comes from rendering, so this is actually fast even if it doesn't seem like it.

Project Details

Project ID539690054
CreatedJune 2, 2021
Last ModifiedAugust 18, 2022
SharedJune 3, 2021
Visibilityvisible
CommentsAllowed