Advertisement
SlavaCat

Random LFO Vital

Feb 22nd, 2021
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.59 KB | None | 0 0
  1. import random
  2. import decimal
  3.  
  4. #!!!CHANGE THESE THINGS!!!
  5. author = "SlavaCat"
  6. name = "Epic Random LFO :O"
  7. points = 10
  8.  
  9. #!!!DONT CHANGE THESE!!!
  10. LFO_points = []
  11. powers = []
  12. w = points-1
  13. for y in range(points):
  14.     z = y
  15.     LFO_points.append(z/w)
  16.     LFO_points.append(float(decimal.Decimal(random.randrange(0, 100))/100))
  17.  
  18. for y in range(w):
  19.     powers.append(0.0)
  20.  
  21. LFO_points = str(LFO_points)
  22. powers = str(powers)
  23. help_me = (f'"author":"{author}","name":"{name}","num_points":{w},"points":{LFO_points},"powers":{powers},"smooth":false')
  24. help_me = '{' + help_me
  25. help_me += '}'
  26. print(help_me)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement