A somewhat sequel to this https://scratch.mit.edu/projects/1107583692/
credits to wsmaker for the original