If statement on degrees

I got the angles to work with atan2(), and added some procedures and generic events to cut the block count way down.
QuickBikeSetup.aia (1.2 MB)

These 3 procedures do the angle calculation:


I divided up the different problems by procedure:

  • relations between balls
  • modelling the joint ball as the (x,y) origin for angle calculation
  • normalizing the angles into acute range 0 <= angle <= 180

Calling the procedures to update the display:

General cleanup of redundancy:

Sample run (I had to add Labels because I couldn't remember which Label held what angle)


(i don't know why your range tests colored my numbers red, but the angles look reasonable.)

And finally, this is a problem

See the article on opening Screen1 at

1 Like