- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 23 Aug 2022 11:03:24 +0000
- To: public-css-archive@w3.org
> For no reason whatsoever, adding the formula for phi broken down in a way that will be hard to forget, ever.
>
> ```js
> const phi = Math.pow(5, 0.5) * 0.5 + 0.5;
> ```
>
> ## _Or:_
Ha, that's nice. I had to do a double take as it looked very different from the one I knew:
$$\frac{\sqrt{5} + 1}{2}$$
Which can be expressed in CSS as:
```css
--phi: calc((sqrt(5) + 1) / 2);
```
--
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4702#issuecomment-1223907893 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 23 August 2022 11:03:26 UTC