Inspiration: this post on the JSTS group (with an image - good job on requirements!)
JTS implementation: in the lab
Code: Geometry geom = VariableWidthBuffer.buffer( line, 10, 80 );
Output:
Data Fetching Patterns in Single-Page Applications
21 hours ago