In this website, you will find codes in Javascript using pd.js library.
For example you will see faces created with regular shapes:ellipse,arc, rectangles. Some of these faces are of diferentcolors, some are moved wih the mouse, others are moved with the micropphone etc.