Advertisement
iomikron

Circlus - iomikron.tumblr.com

Jun 19th, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Circlus[maxNum_, MaxTheta_, stepTheta_, \[Phi]_] :=
  2. Module[{L1},
  3. L1 = Table[{GrayLevel[(Sin[\[Theta]])^2],
  4. Thickness[
  5. RandomVariate[
  6. NormalDistribution[0.0075, 0.01]
  7. ]],
  8. Circle[{Sin[r*Sin[\[Theta] + Cos[\[Phi]]]],
  9. Sin[r*Cos[\[Theta] + Sin[\[Phi]]]]},
  10. r*Sin[\[Theta]*\[Phi]]^2]
  11. },
  12. {r, 1, maxNum},
  13. {\[Theta], 0, MaxTheta, stepTheta}
  14. ];
  15. Return[L1]
  16. ];
  17.  
  18. Graphics[Circlus[40, 2 \[Pi], \[Pi]/10, phi],
  19. Background -> Hue[{0.598, 0.282, 0.372, 1}],
  20. PlotRange -> All,
  21. ImageSize -> {400, 400}
  22. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement