JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://rawgit.com/janghyunq/pixion.js/master/bin/pixion.js"></script>

JavaScript

PIXION.begin(300,400);
(new PIXION.Scene(function(po) {
                  var txt = new po.Text("start scene");
                  txt.text = "begin";
                  txt.x = 150;
                  txt.y = 200;
                  po.eventFrame(function(){
                    txt.rotation += 0.02;
                  });
})).show();