Input Domain

Drag points A and B. Place them close to an edge to see how encoding helps resolve high frequencies.

Feature Vectors

5
Raw Coordinates (x, y) Target
A
B
Positional Encoding (sin, cos)
A
B
Input Dist: 0.00
Encoded Dist: 0.00