Hi,
I need to arrange x number of images in a circle around another image, equally spaced.
I need to do this via javascript, as this will be handled by an onclick event - the user clicks on one of 3 initial images, which then moves to the center of the screen and several (between 5 and 7) related images are displayed in a circle around it.
I'm struggling with how I'd calculate where on a circle they'd be positioned?
Any help?
Cheers!
I need to arrange x number of images in a circle around another image, equally spaced.
I need to do this via javascript, as this will be handled by an onclick event - the user clicks on one of 3 initial images, which then moves to the center of the screen and several (between 5 and 7) related images are displayed in a circle around it.
I'm struggling with how I'd calculate where on a circle they'd be positioned?
Any help?
Cheers!