ScratchData LogoScratchData
Back to Howtomakeausername's profile

1 Line Challenge: Ribboned Spheres (filler)

HOHowtomakeausername•Created August 1, 2020
1 Line Challenge: Ribboned Spheres (filler)
24
18
298 views
View on Scratch

Instructions

Use TURBO mode. (Press the <Shift> key and click the Green Flag). This is a challenge to create an image using only one line of code, a pen color block.

Description

I’ve lost my motivation, so I decided on this old project which I made quickly as a filler... it may be the last project I share for a while... So, how does this work? Each sphere is detected by if the x and y position is below a certain distance from a sphere midpoint. The "z" point on the sphere is calculated by the middle z point (in this case 0) added to the radius (in this case 80) subtracted by The distance x and y from the middle of the sphere. This example shows two different simple sphere textures.

Project Details

Project ID415152694
CreatedAugust 1, 2020
Last ModifiedAugust 1, 2020
SharedAugust 1, 2020
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root