Advertisement
StePe

Untitled

Apr 21st, 2022
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. float a = (num_x-1)/2 + (6 * sin( 1.3 * c * 10 ) );
  2. float aa = (num_y-1)/2 + (6 * cos( 1.3 * c * 10 ) );
  3.  
  4. float red_size=30;
  5. float scale_x = 1;
  6. float scale_y = 1;
  7.  
  8. float aaa = 255-((red_size)*sqrt(((a-x)*(a-x)*scale_x)+((aa-y)*(aa-y)*scale_y)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement