A-Frame – dynamic JavaScript, HTML part

The below example shows using A-Frame together with JavaScript.

The example shows, how to animate a sphere on a plane.