Big shout out to jdan for Perspective Toy, on which the guts of the library is based on.
This library takes about ~300 tokens without the demo code. It provides a public line and a point drawing function.
Big thanks to jdan - this library is now under CC0.
Example usage:
This demo is obviously a bit more complicated :)