I wish to draw a Wheel of Fortune using just CSS and jQuery. I don't want to use any images.
Also, I want to have at least 8 segments in the circle and properly align each text word vertically in each segment. Here's a photo to illustrate:
Once I have this working I then can use CSS3 rotate
property.
Any idea how could I do this?
Here's a Spinning Wheel Demo done in HTML5 using Canvas: LINK
Direct download to the project demo files : ZIP
EDIT: Here is a different tutorial demo:
Creating a roulette wheel using html5 canvas
Here is another example of a spinning wheel using a Canvas
Check this link -> http://joelb.me/blog/2011/css-mask-tutorial-rotating-image-gallery/
It contains an introductory tutorial to somewhat you need. Check for the JS 2d Transformation
library code at github too.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With