I love your enthusiasm as usual Naji, but as such I have a challenge you can try if you want to brush up on Java and C2 plugin Javascript:
1.) Make a Java program that when given a CurrentAngle and TargetAngle will tell you whether Clockwise or Counter Clockwise is the shortest direction to turn to get there (if the same then just go Clockwise). Try do this is in as few lines of code as you can!
2.) Convert that Java code to a C2 plugin where you supply the parameters directly as an expression (eg: not as an action or event).
Good luck
First Thank you so much for giving me these challenges!
The first one is kinda easy because it requires math knowledge and it's basics of programming.
The second one I'll try because I made behavior before and this will be my first time I program a plugin for C2.
P.S. I'm developing a new minimal JavaScript IDE for Web Developers in Java! I'll announce it once I finish it!