Jump to content
Search Community

t-plane

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by t-plane

  1. Hi all. Im having difficulty with rotation plugin. Unlike in the demo, the rotation I get it not synced up with mouse movement (or touch and drag) in my app. Instead it looks like its easing to the needed rotation. What am I missing here? 

     

     

     

            var rotationSnap = 90;
            Draggable.create("#wheelHolder", {
                type:"rotation",
                throwProps:true, 
                snap:function(endValue) { 
                    return 360 / notes1Arr.length;
                }
            });

    See the Pen by chord-wheel (@chord-wheel) on CodePen

×
×
  • Create New...