Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @name tecza
- @inputs
- @outputs
- @persist A B C
- if(first()) {
- A=random(0,100)
- B=random(0,100)
- C=random(0,100)
- }
- O=owner()
- timer("timer", 20)
- if(clk("timer")){
- A=A+random(0,21)
- B=B+random(0,30)
- C=C+random(0,17)
- O:setColor(vec(A,B,C))
- timer("timer", 20)
- }
- if(A>190){
- A=random(0,190)
- }
- if(B>190){
- B=random(0,190)
- }
- if(C>190){
- C=random(0,190)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement