I'm a beginner with Canvas and I've created an object that resembles a ball. I've been trying to figure out how to style this ball using CSS but I'm having trouble selecting it with JavaScript or jQuery. I couldn't find any comprehensive resources that explain all the visual options available for customizing the ball.
If there's someone experienced with Canvas who can help me out, I'd really appreciate some guidance on how to enhance the visuals of this ball.
var BALL = function(x,y){
this.x = x;
this.y = y;
this.color = "red";
this.radius = 7;
this.saveRadius = 7;
this.vx = 3;
this.saveVx = 3;
this.vy = -4;
this.saveVy = -4;
}