Skip to main content
100%

A SMIL Satellite - version 0.1

✓ Published1🌍 Public
RRussell Watson
Last edited Feb 29, 2020
Created on Feb 24, 2020
Forked from MrW's D3 template

A SMIL Satellite demonstrates SVG animation using SMIL's animateMotion and mpath elements, moving satellite circles along a defined path to simulate orbital motion. The scene includes a planet with gradient and filter effects, stars, and multiple satellites orbiting at different sizes, speeds, and rotations. The code uses d3.v5 and SVG rendering, referencing gradient definitions, filters for atmosphere and clouds, and motion paths—though SMIL animation may fail in this embedded context, working only when loading the SVG file directly in a browser. The example compares SMIL against JavaScript or CSS animation approaches.

AI-generated description

A SMIL animation - the 3rd type of SVG animation possibility compared to JS or CSS animation.

Doesn't seem to work here, although it does in a separate file:

  • Try loading the SMIL_Satellite.svg file separately in a browser - that works.
MIT Licensed

Similar vizzes