JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/phaser/2.6.1/phaser.min.js"></script>
<div id="game-div">
</div>
JavaScript
var game = new Phaser.Game(800, 600, Phaser.AUTO,
'game-div', { create: create });
function create() {
var graphics = game.add.graphics(0, 0);
graphics.beginFill(0xFF0000, 1);
graphics.drawCircle(300, 300, 100);
// graphics.anchor.set(.5)
graphics.pivot.x=50
graphics.pivot.y=50
game.add.tween(graphics.scale).to( { x: 2, y: 2 }, 230, "Sine.easeInOut", true, 0, -1, true);
}