JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://keyten.github.io/Graphics2D/js/Graphics2D.js"></script>
<script src="http://keyten.github.io/Graphics2D/examples/solarsystem/layers.js"></script>
<script src="http://keyten.github.io/Graphics2D/examples/solarsystem/sprite.js"></script>
<div id="solarsystem"></div>

JavaScript

var app = Graphics2D.app('#solarsystem', 840, 840);

// Картинки:
// http://keyten.github.io/Graphics2D/examples/solarsystem/images/planets.png
// http://keyten.github.io/Graphics2D/examples/solarsystem/images/sky.png
// http://keyten.github.io/Graphics2D/examples/solarsystem/images/sun.png