<div id="container"></div>
html, body, #container {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
var stage = acgraph.create("container");
// Draws star.
var star = acgraph.vector.primitives.star(stage, 100, 70, 50, 17, 7, 20, -0.9);
// color the star with a golden color
star.fill("gold");
// set the stroke color to the star
star.stroke("#000000", "4");