Skip to content

Commit

Permalink
Merge pull request #57 from zarocknz/responsive-wheel
Browse files Browse the repository at this point in the history
Responsive wheel
  • Loading branch information
zarocknz authored Jan 2, 2019
2 parents 46b9671 + 6f91c34 commit 229a47a
Show file tree
Hide file tree
Showing 16 changed files with 998 additions and 1,021 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Douglas McKechie
Copyright (c) 2012-2019 Douglas McKechie

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ Wheels can be animated using GreenSock's Animation Platform (TweenMax.js) which
Winwheel.js Features Include:
* Easy to use, highly configurable JavaScript classes.
* Draw wheels using code generated segments or graphically rich images.
* Responsive features so wheels display correctly on different sized devices.
* Numerous text orientation, direction, size and colour options.
* Random or Pre-calculated prize stopping location.
* Play sounds while the wheel is spinning including a "tick" sound.
* Ability to get the segment the user clicked upon.
* Fully commented source code. Plenty of tutorials and other documentation.
* Winwheel.js is free to use with an open source licence.
* Winwheel.js is free to use with an open source license.

## Example
```javascript
var myWheel = new Winwheel({
let theWheel = new Winwheel({
'numSegments' : 4,
'segments' :
[
Expand All @@ -45,4 +46,11 @@ Please visit http://dougtesting.net/winwheel/docs to see a complete set of tutor
## Maintainer
Douglas McKechie https://github.com/zarocknz

Keep informed about Winwheel.js by following https://twitter.com/dougtesting
## Please note
I am not planning to do any further work on this library as my day job keeps me very busy and after 7 years of Winwheel I would rather spend
any spare time I do have for personal coding on other projects.

So this means if you would like a version of Winwheel.js for your current JavaScript framework of choice its up to you or others in the community
to create it. If you create one perhaps open an Issue with the details so others can find and use it. Thanks.

You are welcome to ask questions using the Issues feature of Github, but please don't be offended if I take quite a long time to respond to them. To be honest its probably quicker to ask the Stackoverflow community for help https://stackoverflow.com/search?tab=newest&q=Winwheel
Loading

0 comments on commit 229a47a

Please sign in to comment.