- From: James Browning via GitHub <sysbot+gh@w3.org>
- Date: Sun, 02 May 2021 23:18:53 +0000
- To: public-css-archive@w3.org
These are probably a good candidate for [typed OM](https://www.w3.org/TR/css-typed-om-1/), CSS transforms already have something similar in that you [can get out a matrix](https://www.w3.org/TR/css-typed-om-1/#dom-csstransformvalue-tomatrix) with `new CSSTranslate(CSS.px(3), CSS.px(5)).toMatrix()`. I'm not entirely sure why there's only a few functions available in typed OM, but it'd make sense to have something like that for easing: ```js const easing = new CSSEasing(CSS.number(.17),CSS.number(.67),CSS.number(.83),CSS.number(.67)); console.log(easing.valueAt(0.5)); ``` -- GitHub Notification of comment by Jamesernator Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6261#issuecomment-830924404 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 2 May 2021 23:18:55 UTC