Giter VIP home page Giter VIP logo

Comments (5)

krs-world avatar krs-world commented on August 30, 2024

Hmmm, dont even remember what I did here.. I need to understand this better,
or I will let you fix it after I push version to git. But not getting any compile errors
perhap runtime issues?

from bridges-cxx.

krs-world avatar krs-world commented on August 30, 2024

I have taken out the ColorPatterns. We have a ton of colors specified, which is more than adequate. This is not a drawing program to support color in any sophisticated form.

We will update the Java version as well.

from bridges-cxx.

dcarmer avatar dcarmer commented on August 30, 2024

Yes it was a runtime error.

It seems though, if the visualization can handle any hexadecimal colors, we should keep its support.

If anything I would have removed the ColorNames, because while they offer an easier form of color input for users, the documentation doesn't specify a list of valid colors. The hexadecimal on the other hand allows the representation of any color and is also commonly understood and well documented on what is valid or not.

from bridges-cxx.

krs-world avatar krs-world commented on August 30, 2024

I have now integrated the color names and other vis. properties into the
ElementVisualizer and LinkVisualizer doc pages - so this should take care of it.

You are making an assumption that our sophomores actually know what hexadecimal numbers are! No! Or RGB colors.. I am sure color names will be easier, with the documentation.

from bridges-cxx.

dcarmer avatar dcarmer commented on August 30, 2024

I don't have a great sense for what most students know or don't know so I'll differ to your judgement, but I would think that most sophomores would know the various standards for color specification, such as the hexadecimal (#ffffff) and integer (255,255,255) schemes. And if they don't It seems like this would be a good opportunity to introduce them to it, as I imagine they would need to know it eventually.

Additionally, while I do understand this isn't a drawing program designed to handle complex sophisticated color and the number of color names in place is more than sufficient, other schemes provide for all colors not just specified ones, and I can't help but think we may be limiting an ambitious user, not to mention ourselves. Should we ever, for instance, see the need for color transparency, it would only require the addition of the alpha channel, while the names would be lacking.

If we really just want to stick to the names, I'll let it go and close this issue, but I personally would recommend we at least additionally implement the hex or 255 scheme.

from bridges-cxx.

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.