Browse Search Popular Register Upload Rules User list Login:
Search:
Red to green slow fade

Image:
screenshot of the scene

Author: standardtoaster

Group: Default

Filesize: 17.6 kB

Date added: 2009-10-15

Rating: 5.3

Downloads: 1192

Views: 1652

Comments: 2

Ratings: 2

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

Slowly fades from red to green.


Script:
(e)=>{
e.this.color = [e.this.color(0) - 0.01, e.this.color(1) + 0.01, e.this.color(2), e.this.color(3)]; e.this.color(0) <= 0 && e.this.color(1) >= 1 ? {e.this.color = [0, 1, e.this.color(2), e.this.color(3)]} : {} }

This takes the first value of the color and continually subtracts 0.01 from it until it gets to or below 0 and then it stops subtracting. This also takes the second value of the color and continually adds until it gets to or above 1.
Last edited at 2009/10/15 18:16:13 by standardtoaster
Please log in to rate this scene
edit
Similar scenes
Title: Fade Lasers + Fade Laser Effects
Rating: 4.5
Filesize: 37.33 kB
Downloads: 625
Comments: 14
Ratings: 2
Date added: 2011/07/27 13:56:12
Made with: Algodoo v1.8.5
Rating: rated 4.5
download
Title: Working Radar (algdo only) With Fade
Rating: 5
Filesize: 17.28 kB
Downloads: 471
Comments: 2
Ratings: 1
Date added: 2010/02/09 02:00:36
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Balls in slow motion crashing together
Rating: 5
Filesize: 7.57 kB
Downloads: 441
Comments: 0
Ratings: 1
Date added: 2024/06/16 13:20:20
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Pen Instant Fade
Rating: 5
Filesize: 2.95 kB
Downloads: 217
Comments: 2
Ratings: 1
Date added: 2009/03/09 00:17:09
Made with: Phun
Rating: rated 5
download
Title: Sharpener
Rating: 5
Filesize: 125.33 kB
Downloads: 588
Comments: 0
Ratings: 1
Date added: 2013/06/20 19:18:56
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Chasing bugs
Rating: 5
Filesize: 15.53 kB
Downloads: 651
Comments: 0
Ratings: 1
Date added: 2009/04/09 13:25:08
Made with: Phun
Rating: rated 5
download
hey nice but weird script with the and and/& marks ?? by the way your first scene is awesome :tup: really i had about 3minutes of fun with it laughing of how stupid it was but i will rate it 10/10 because of awesomeness :tup:
hey I will make a top ten of your scenes but wont post it before you let me post it as response to you newest scene?