- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Apr 2025 15:23:22 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-borders-4] Interpolation of `corner-shape` superellipsis``, and agreed to the following: * `RESOLVED: interpolate linearly across the corner diagonal and compute the parameter backwards from that` <details><summary>The full IRC log of that discussion</summary> <TabAtkins> noamr: this shoudln't be contentious<br> <TabAtkins> noamr: let me show how it interpolates<br> <TabAtkins> noamr: the interpolation takes the "half corner", th emiddle point, put it on the diagonal line and interpolate *that*. work backwards to get the superellipse parameter<br> <TabAtkins> noamr: otherwise any interpolation in the paramter space itself would spend too much time in the extreme values<br> <fantasai> TabAtkins: This does sound like the most reasonable interpolation method<br> <TabAtkins> astearns: any indication from Simon?<br> <TabAtkins> noamr: he did this visualization.<br> <TabAtkins> noamr: everything i'm presenting here I worked together with Simon<br> <TabAtkins> ack<br> <astearns> ack TabAtkins<br> <TabAtkins> fantasai: TAb, you mentioned the "effectively square" is 10 or so on both sides<br> <TabAtkins> fantasai: above 10<br> <TabAtkins> fantasai: it basically doesn't do much?<br> <TabAtkins> noamr: it's basically equivlanent unless your screen is enormous<br> <TabAtkins> fantasai: should we declare that 10 gets rounded to a sharp corner?<br> <TabAtkins> fantasai: so the CSS range is effectively -10 to 10?<br> <TabAtkins> astearns: if your shape is very large you might get a jump<br> <TabAtkins> noamr: shouldn't have it as part of interpolation<br> <TabAtkins> noamr: the animation would appear to be faster in the middle if we did that<br> <TabAtkins> noamr: in the current chrome prototype we *do* clamp to 10/-10, it makes the math easier<br> <TabAtkins> noamr: but not sure it's useful in the specs<br> <TabAtkins> fantasai: the reason it might be useful is, it's harder for the authro to know that to get an actually sharp corner they need to use a much bigger value<br> <fantasai> TabAtkins: The interpolation behavior defined here is that we don't interpolate the parameter, we interpolate the diagonal line.<br> <fantasai> TabAtkins: so you get a linear interpolation through the diagonal space<br> <fantasai> TabAtkins: so you get a visually smooth value instead of changing speed<br> <fantasai> fantasai: Would it make sense to make that the parameter?<br> <fantasai> TabAtkins: No, because then squircles and other common values would be weird numbers.<br> <TabAtkins> noamr: yeah, round is sqrt(2)/2<br> <TabAtkins> astearns: any other comments/question?<br> <TabAtkins> astearns: so proposed is we interpolate linearly across the corner diagonal and compute the parameter backwards from that<br> <TabAtkins> astearns: objection?<br> <TabAtkins> RESOLVED: interpolate linearly across the corner diagonal and compute the parameter backwards from that<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11608#issuecomment-2769747697 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 April 2025 15:23:23 UTC