Comments (2)
This has been done literally years ago lol
from color.js.
@LeaVerou
Saving is broken for me, right now. Not sure if it's broken for others as well?
What I really want though is a URL to share for a notebook + its code. Snooping around with view source, I've gotten as far as: https://colorjs.io/notebook/?storage=https://gist.githubusercontent.com/eeeps/26b83123a4b5b6012bda29d4f2e9ee7f/raw/07f808a9471bb0e1d4ea0f0765ba1b3a611216ee/super-duper-extra-teal.js
The code appears! But it's not styled, evaluated, or editable.
![Screenshot 2023-11-29 at 12 03 38](https://private-user-images.githubusercontent.com/3441390/286727651-53dc9524-50f9-4ae9-9236-3e3717238639.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg0NjkxOTgsIm5iZiI6MTcxODQ2ODg5OCwicGF0aCI6Ii8zNDQxMzkwLzI4NjcyNzY1MS01M2RjOTUyNC01MGY5LTRhZTktOTIzNi0zZTM3MTcyMzg2MzkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MTVUMTYyODE4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzJmNWE4ZmVkYzgzMDhkOGI1ODM3ODZkMTE1OTVhM2RjZTY0N2FiM2VlNzlhZGJhZTgyY2RjNzQwMzYzNDYyZiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.qmnRJ0Qw_6hYkAuh7hgXSFG0cu7zyTogPJvjK7fUZhE)
from color.js.
Related Issues (20)
- Make it possible to serialize to the same format as parsed
- OkHSL/OkHSV does not use NaN for hue-less colors HOT 5
- Color.js is very error-happy
- Color space should be optional in `setAll()`
- Alpha is only clamped when parsing a color via the constructor, but not in `parse()`
- `color()` with more or fewer arguments should be invalid
- new Color("darkred").display() returns "rgb(0.5451 0 0)" HOT 5
- Newly broken tests HOT 7
- Customize `serialize()` output types without having to specify a whole format HOT 1
- New achromatic logic in LCH is not sufficient for all achromatic colors HOT 1
- Color.js typing for Coords is number even though functions may return null
- Thank you!
- Include htest tests in CI
- Keep track of parsing metadata on `Color` instances
- If parsing metadata is available, default to the same format when serializing
- Preparing for v0.6.0 HOT 11
- [`getAll`] Add an option(?) so that formatted coords can be returned HOT 1
- JSDoc migration broke some type re-exports
- Incorrect serialization of negative values for sRGB and HSL HOT 9
- REC.21000-HLG doesn't handle negative values when converting from rec2020-linear
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from color.js.