Giter Club home page Giter Club logo

Comments (7)

mbrlabs avatar mbrlabs commented on September 17, 2024 2

I'm working on a new color picker. Right now it's all static (you can't change colors). But in the future you will be able to change them, add new palettes yourself, etc.

This is how it looks like so far:

Lorien.v0.4.0-dev.2021-09-10.17-25-16.mp4

from lorien.

Gurchain avatar Gurchain commented on September 17, 2024 1

@mbrlabs Maybe you have one row of colours show in the toolbar and you can click a drop-down menu to show a couple more rows, including an option to swap palettes. Or you have the toolbar show recently used colours and have the entire palette under the drop-down menu.

from lorien.

mbrlabs avatar mbrlabs commented on September 17, 2024

That's actually exactly what i want to do and why i removed the color presets from Godot's colorpicker. But i'm not sure about the UI yet. I want to implement a system where you can define palettes yourself and also have a default one with some nice colors similar to Inkscape.

from lorien.

Gurchain avatar Gurchain commented on September 17, 2024

How about something like this:

ColorPallete1
ColorPallete2

from lorien.

mbrlabs avatar mbrlabs commented on September 17, 2024

@Gurchain Yes good idea, that's how i want to do it esentially (very Paint inspired). But i'm unsure if i want to limit the amount of slots you can have (you can't show all of them in the toolbar). It's probably fine to have a fixed nubmer, since you don't need so many anyway. But you should be able to edit them or create new color palettes yourself.

from lorien.

mbrlabs avatar mbrlabs commented on September 17, 2024

See #55 (comment)

from lorien.

mbrlabs avatar mbrlabs commented on September 17, 2024

Closing this now, as i finished implementing this. You can check it out on the main branch or this weekend when i release the 0.4.0 version.

You can:

  • Use 1 built-in palette (can't be edited or deleted)
  • Duplicate palettes (including the built-in one)
  • Add/Delete custom palettes
  • Change/add/remove colors from palettes
  • Raname palettes

from lorien.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.