I m new at r so I was want to know how to make different different shapes and how to make animation from it
Shapes and visual in r
You need to be more specific about what you want to achieve, but in general take a look at ggplot2
package for graphics and gganimate
for animations.