Home▸AI & Machine Learning▸Random Projection Lab: How Many Dimensions Keep the Distances? Johnson-Lindenstrauss (2D)

Random Projection Lab: How Many Dimensions Keep the Distances? Johnson-Lindenstrauss (2D)

The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.

AI & Machine Learning2DAdvanced60 FPS📱 Mobile-adapted🟠 Blender⇄ 3D version
Random Projection Lab: How Many Dimensions Keep the Distances? Johnson-Lindenstrauss (2D) ↗ Open standalone

The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.

⚙ Under the hood

The same random-projection experiment in 2D: a top view of the point cloud with red lines for pairs that moved by more than epsilon, the histogram of the squared-distance ratio against the chi-square curve, the gauge of the observed and exact fraction inside, and charts of the failure chance against k and of the dimension needed against epsilon. Same controls and checks as the 3D version.

random projectionJohnson-Lindenstrauss lemmadimensionality reductionchi-square distributionconcentration of measuresketchinghigh-dimensional data

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)