Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
efskap
52 days ago
|
parent
|
context
|
favorite
| on:
Monorail – Turn CSS animations into interactive SV...
Yeah I dug up the relevant function because I was curious how one would solve this.
return (r * 1000 + g * 100 + b * 10 + a * 255) / 10000;
https://github.com/Stanko/monorail/blob/2da287a4e822705a99d7...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: