- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Jan 2025 19:32:47 +0000
- To: public-css-archive@w3.org
@smfr with my proposed formula for interpolation applied on these values it would look like this: | Name | `superellipse()` value | 0..1 value for interpolation | |--------| ----------------------| --------------------------| | `notch` | `-Infinity` | 0 | | `scoop` | `-1` | 0.25 | | `bevel` | 0 | 0.5 | | `round` | 1 | 0.7 | | `squircle` | 2 | 0.84 | | `straight` | `Infinity` | 1 | ``` The formula is intersecting the diagonal with the squircle function, which resolves to this (given `n` as the arg): ``` // -Infinity => 0, Infinity -> 1, everything else: 0.5^(1 / 2 ^ n) ``` -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11609#issuecomment-2625399236 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 January 2025 19:32:48 UTC