-
#public
-
[[(hidden) sMUujnQUU]] [[(hidden) gcYVGYWAn]]
-
doing a volley zones pretty fun viz rn:
-
https://editor.p5js.org/kiprasmel/full/7Mz2qKNUc
-
[[math]] remap/interpolate
-
https://stackoverflow.com/a/3451607/9285308
-
> Find how far you are into the first range, scale that distance by the ratio of sizes of the ranges, and that's how far you should be into the second range.
-
```plain text low2 + (value - low1) * (high2 - low2) / (high1 - low1) ```
-
```typescript export function remap(value: number, min1: number, max1: number, min2: number, max2: number) { return min2 + ((value - min1) * (max2 - min2)) / (max1 - min1); }```
-
-
-
matrix transpose?
-

-

-
actually it seems like it's just an override of some values (added arrows in left 2D array to indicate what goes where):
-

-
and visually, it makes sense too -- we rotate each point from the middle of the edge it's currently on, to the rectangle's corder (end of edge):
-
#search "strech a quad to a rectangle"
-
thought, this still has to do w/ [[(hidden) l90UCaoql]] [[math]] -- __projective transformations__
-
-
-
-
-
-
(hidden) Fc-jf_jMX
-
(hidden) NGu-8eX5u
-
(hidden) QjRo4GW1y
-
(hidden) crKSY6Bxy