Advertisement
spacemonkey3591

graph

Jul 7th, 2017
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. for i = 1,1500, .5 do
  2.  
  3. A=3
  4. B=2
  5. a=2
  6. b=5
  7. phi=2
  8.  
  9. x=A*math.sin(a*i+phi)
  10. z=B*math.sin(b*i)
  11.  
  12. p = Instance.new("Part")
  13. p.CFrame = CFrame.new(Vector3.new(1000*x, 100, 1000*z))
  14. p.Size = Vector3.new(8,8,8)
  15. p.Anchored = true
  16. p.BottomSurface = "Smooth"
  17. p.TopSurface = "Smooth"
  18. p.Parent = game.Workspace
  19. p.BrickColor = BrickColor.new(217)
  20.  
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement