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

upload_2019-1-29_15-17-35.png


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

Attachments

  • b4jhowtoabmcustomcanvasknob.zip
    93.9 KB · Views: 291
Last edited:
Top