Here are my solutions for NTU Prof Chua's online submission Java tutorial solutions and the exercises from NTU java website exercises. The contents are being updated.
Point-to-line collision algorithm. I recommend viewers to watch my Line(segment) Intersection tutorial here: https://www.youtube.com/watch?v=p3hYp0639lc&t=0s An ...