Comments (9)
I played around with it a little just for fun, I imagine it could look something like that (sorry for the color artifacts):
from motion-canvas.
While it's true that we'll need a color picker sooner or later for the sake of editable signals, I am strongly against using third-party components in the editor as they destroy any sense of consistency in terms of the visuals and the feel.
It's important to keep in mind that Motion Canvas is meant to feel like a desktop application and not a website.
Here's an example of the color picker from Blender:
Most notably, it uses HSV sliders that both look and work the same as any other field in the application.
As such, the color picker should be implemented using our own components.
This shouldn't be too complex as it's just a few sliders and two CSS gradients on top of each other.
We also already depend on chroma-js
which provides all the logic necessary for color conversion an manipulation.
from motion-canvas.
I'll look into that. I guess the new NumberInput
will come in handy for the sliders.
from motion-canvas.
Does it have to be the same layout as in Blender, i.e. one (circular) map for hue and saturation and another one for brightness, or would you also be fine with one map for saturation and brightness and another linear one for hue (as in the gif I sent)? I think the latter would be easier to implement and I like the easy way of keeping the saturation and brightness while playing around with the hue, but I guess that comes down to personal preference.
from motion-canvas.
Yes, the square + hue slider from the gif is better. It's common in most drawing software so I think it would be a good default.
from motion-canvas.
Related Issues (20)
- Add Vector constants for all origins HOT 1
- Scene Hierarchy Examples
- Issue with rendering in Firefox HOT 2
- Rename lib to runtime in 2d package
- SVG Rendering Discrepancy with props like `fill="url(#paint4_linear_10_58)"`
- Directly select timeline range HOT 7
- View2D edge accessors are not in proper space HOT 1
- Setting the offset property of a `layout` component breaks edge accessors for that component
- Upgrade to Vite V5 HOT 1
- Constrain the size of the canvas from scene parameters
- Motion Canvas Controls Disappeared HOT 2
- Allow runtime plugins to extend scene meta fields
- Slanted fonts can result in characters at the start or end being cut off when opacity is lower than 1 or a shadow is placed on a Txt node HOT 1
- Editor locks up when setting the FPS to a negative value HOT 1
- Add Velocity Signal Functionality HOT 1
- Split scene into multiple Videos
- Introduce Signal Effects
- Error while using "npm start" using termux HOT 6
- Customization of ddefault Animation Player styles HOT 1
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 motion-canvas.