JavaScript Customelement Projects
-
-
SurveyJS
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
-
as-dithered-image
HTML custom element to correctly dither an image giving pixel-perfect crisp results on all displays
This is correct. Atkinson dithering looks cool (at least to my eyes) but is not the best choice for real time work. In particular, it cannot be implemented in a shader, although you can approximate it. But computers are fast enough that a CPU-bound algorithm can still work at interactive speeds. Not sure how well it would work in an editor though - in theory changing a single pixel at the top left of the image could cause a chain reaction that could force the whole image to be re-dithered.
I did an implementation of Atkinson dithering for a web component in case anyone is feeling the itch to dither like it is 1985.
Demo: https://sheep.horse/2023/1/improved_web_component_for_pixel-...
Source: https://github.com/andrewstephens75/as-dithered-image
JavaScript Customelement discussion
Index
# | Project | Stars |
---|---|---|
1 | riot | 14,852 |
2 | as-dithered-image | 203 |