Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var ball = new Kinetic.Shape(function(){
- var context = this.getContext();
- context.beginPath();
- context.arc(0, 0, radius, 0, 2 * Math.PI, false);
- context.fillStyle = '#ff6600';
- context.fill();
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement