Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.15 KB | None | 0 0
  1.  
  2.  
  3. if($input==1000){
  4.  
  5. $multiplier = 10;
  6.  
  7. }else{
  8.  
  9. $multiplier = round($input /100);
  10.  
  11. }
  12.  
  13. num[i] = opacities[$multiplier] * colors[$multiplier];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement