Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gradients, mask images, WYSIWYG editor #1

Closed
uniquejack opened this issue Feb 9, 2019 · 2 comments
Closed

Gradients, mask images, WYSIWYG editor #1

uniquejack opened this issue Feb 9, 2019 · 2 comments

Comments

@uniquejack
Copy link

uniquejack commented Feb 9, 2019

Hello mate!
I've also added animations and transform features to libRocket long time ago, I've also added duktape for javascript bindings, however your work looks more complete.

I've dropped libRocket only because of a few features that were missing:

  • Gradients
  • Opacity Image-Masks
    And specially the possibility to use these two toghether for very cool effects such as
    -webkit-mask-image: radial-gradient(ellipse 60% 45% at 60% 60%, transparent 20%, black 100%);

Are you planning to implement these features in the near future?
Also, is there any WYSIWYG editor for libRocket?

Thanks in advance.

@mikke89
Copy link
Owner

mikke89 commented Feb 9, 2019

Hey! Right, I remember your name from earlier, thanks for stopping by.

This indeed seems quite powerful, thanks for the suggestion. Right now, I don't see myself having the need for this feature in my current project, so probably not going to implement it.
However, it should be quite doable. I can see it be implemented with render-to-texture support and some specific shaders, so the user-facing API would need some work. I have thought about it earlier, because then one can implement opacity etc. properly, thus it might have other benefits.

Let me know if you do go ahead and try to get it working.

@mikke89
Copy link
Owner

mikke89 commented Feb 9, 2019

Oh, and as for your second question, as far as I know there is no WYSIWYG editor, however, it's usually (ideally) compatible html+css so any web WYSIWYG should work for the most common features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants