Life is stressful. Seems unbelievable, but Mathematica can help us relax after just a few lines of code.
This quite simple piece of code generates animated mandala-like pictures that will calm you down. At least, this works for me
Animate[Graphics@
Table[{Thick, Dotted, Hue[r/360, 1, 1, .4],
Line[{{Cos[x r Degree], Sin[x r Degree]},
{Cos[39 r Degree], Sin[ 39 r Degree]}}]},
{r, 0, 360, 1}],
{x,Select[Range[1, 360], ! IntegerQ[#/3] &]},
ControlPlacement -> Top,DefaultDuration -> 360]
39 in the second point of line was chosen by chance. I’ve decided, that 2D parameters are unnecessary. I’ve also decided to skip multiplies of 3 in iterator x, because they produce not so harmonic pictures as others.
If you can generate an animation that makes people dizzy, you could probably make money selling it to people who need to retrain their vestibulo-ocular reflex, the brain circuitry that coordinates inputs from the various senses.
Wow! This is great material. You can find many of these crazy-looking animations at the Twitter account “Tweet-a-Program”: Tweet-a-Program (@wolframtap) / X. Mrs. Silvia Torosyan is a frequent contributor; some of her codes are published thereof.