skalaclip.js A fast line clipping algorithm implemented in JavaScript. Demo Based on A new approach to line and line segment clipping in homogeneous coordinates (2005) by Vaclav Skala