ScratchData LogoScratchData
Back to nXIII's profile

Realtime gradients

NXnXIII•Created March 25, 2013
Realtime gradients
230
111
2694 views
View on Scratch

Instructions

Watch. Move the mouse around. Enjoy. Remix.

Description

Featured! :D I added automatic resolution adjustment. (inspired by zorket's remix) The gradient itself is generated by passing a number to <set pen color to ()>, which interprets it as a color of the form 0xRRGGBB. This is done inside of a loop which divides the stage into n×n "pixels" and draws a dot at each one. It uses the <direction> block and some math to do the animation.

Project Details

Project ID10090702
CreatedMarch 25, 2013
Last ModifiedAugust 20, 2014
SharedMarch 25, 2013
Visibilityvisible
CommentsAllowed