B4J Code Snippet [ABMaterial] Clock on Canvas

Custom Component for a Canvas Knob Control.
This ABMaterial Custom Component is wrapped from the jQuery-Knob project (thanks to the author).
The knob is turned by using the mouse, but can also be updated dynamically.
A nice dynamic example is a running clock using 3 knobs:
green = seconds, light blue = minutes, yellow =24 hours



Attached: B4J source for two examples (Two Knobs and Clock).
 

Attachments

  • b4jhowtoabmcustomcanvasknob.zip
    93.9 KB · Views: 488
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…