Example
larryvanwave-ff
3 months agoCommunity Member
The Circle of Trust
This is an example of using a simple drag-and-drop interface to highlight different topics.
4 Replies
- BilliSwitals189Community Member
Really like the look and feel of this design. I am curious of how you had the outer circle rotate constantly. :-)
- larryvanwave-ffCommunity Member
Hi Bill,
Thank you for the positive feedback. The outer circle rotates by JavaScript GSAP:
var slowCircle = document.querySelectorAll( "[data-acc-text='rotateCircle']");var circleTime = gsap.timeline({repeat: -1});circleTime.to(slowCircle, {rotation:360, duration:124}); - larryvanwave-ffCommunity Member
The gsap.timeline has a repeat: -1, is a continuous loop.
- JulieRourkeCommunity Member
I really like this as well.