Basically what I need to do is take a number of elements, lets say 6 in this case, all of which are div's with an image child e.g.

<div class='triangle-element'>
<img src="../images/face.jpg" />
<div>

I want to be able to eventually take each instance of .triangle-element and turn it into a circle made of triangles...

Basically what I need to do is take a number of elements, lets say 6 in this case, all of which are div's with an image child e.g.

<div class='triangle-element'>
<img src="../images/face.jpg" />
<div>

I want to be able to eventually take each instance of .triangle-element and turn it into a circle made of triangles...

Have you looked at raphael.js?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.