This detects the gradient of a slope - how far the y moves when the x changes by 1 - and the angle that it makes with the x axis. At the beginning please select the angle of the slope - where 90 is horizontal, 0 is vertical and -90 is horizontal again. It uses Scratch's strange coordinate system by the way. Please do not enter 0 or a multiple of 90 or it glitches out! By the way,this isn't particularly accurate. It's a bit accurate, but not very. It's an experiment. If anyone can find a way to improve this, please tell me.
All code by me.No trigonometry this time. #slope #Pythagoras #gradient #maths #steepness