ScratchData LogoScratchData
Back to Zro716's profile

1 Line Raytracer

ZRZro716•Created June 28, 2016
1 Line Raytracer
116
74
1313 views
View on Scratch

Instructions

Use TURBO mode to see the demonstration pattern. (Press the <Shift> key and click the Green Flag for TURBO mode). The "1 Line Challenge" is to produce an interesting pattern on the screen using only one line of code to calculate the color of each pixel. You may only change the "set pen color to ..." line in this project. Please put your remixed "1 Line Challenge" Projects in the Studio https://scratch.mit.edu/studios/2825709/ If you just had to break the rules please put your "Not Quite A 1 Line Project" projects in this studio instead https://scratch.mit.edu/studios/2825759/ "See Inside" for more Rules, Rewards, a Short Tutorial etc.

Description

this project is a monster edit 1 July 2016: I've optimized it a little (using an exponent trick), which brought down the monstrous size a little. I've also added a breakdown of the one-liner which looks surprisingly simple.

Project Details

Project ID115046800
CreatedJune 28, 2016
Last ModifiedJuly 1, 2016
SharedJune 28, 2016
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root