I created this scene using a MEL script I created. I wanted to create a peaceful planet resembling Saturn starting off peaceful and becoming disruptive. The rings were animated in Maya directly not using the script editor.
Programs used: Maya
global proc planets (int $num){ int $n; for($n = 0; $n < $num; $n++) { polySphere -r (0.25 + (0.4 * $n)) -sx 35 -sy 35; } } planets(3);
global proc rings(int $num) { for($n = 0; $n < $num; $n++) { torus -axis .2 1 .2 -hr 0.003 -r (1.02 + (0.03*$n)) -s 20; } } rings(18);
global proc mini_star (int $num, float $radi ) {
int $n; for ($n = 0; $n < $num; $n++)
{ float $x = rand (-3, 3); float $y = rand (-3, 3); float $z = rand (-3, 3); sphere -r $radi; move $x $y $z;
} } mini_star (200, 0.01);
global proc mid_star (int $num, float $radi ) {
int $n; for ($n = 0; $n < $num; $n++)
{ float $x = rand (-1, 1); float $y = rand (-1, 1); float $z = rand (-1, 1); sphere -r $radi; move $x $y $z;
} } mid_star (20, 0.03);