Skip to main content
100%

Fitting Affine Projection

✓ Published0🌍 Public
Mmbostock
Last edited Feb 9, 2016
Created on Sep 17, 2013

This example demonstrates an affine transformation fitted to user-defined points. A grid of blue source lines is mapped to a set of black target lines based on the positions of three draggable circles. The code solves a least-squares problem using Gaussian elimination, and the resulting transformation matrix is displayed in a textarea. The visualization is built with D3 v3, using SVG for rendering and d3.behavior.drag for interactive manipulation of the control points.

AI-generated description
gpl-3.0 Licensed

Similar vizzes