engine
blurhash
engine | blurhash | |
---|---|---|
54 | 46 | |
7,532 | 16,277 | |
- | 0.9% | |
10.0 | 4.3 | |
about 2 months ago | 10 months ago | |
C++ | C | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
engine
-
You Can’t Have It All!
This is all because I don’t trust the dispose() function. I need to call the _cancelTimer()routine and stop the Timer. However, I usually don’t use the dispose() method to do this. It’s unreliable to run any mission-critical operations and or release any substantial resources. You see, it’s to the Virtual Machine’s (VM) (i.e. Flutter Engine) discretion to call a State object’s dispose() function as part of its garbage collection responsibilities. You will have no idea when that happens. Due to some memory constraints, it’s not called at all — at least not when you may want to. The deactivate() method is more reliable and is more consistent. I use the deactivate() method, but that means I also use the activate() method — in case the Widget is moved around the Widget tree — the Timer must be initialized in our case. That’s just the way it is.
-
Skia Canvas: Browser-Less Implementation of the HTML Canvas Drawing API for Node
Impeller - Flutter’s rendering library that replaces Skia on iOS and Android - is working on a C API: https://github.com/flutter/engine/blob/main/impeller/toolkit...
-
We're forking Flutter. This is why
https://github.com/flutter/engine/graphs/contributors
- Flutter GPU
-
Show HN: 3D rendering toolkit for Flutter and/or Dart
We are aware that these priorities might change in the future. There have been sanity checks to ensure that the Impeller API can be ported to WASM and also that Impeller shaders can be compiled to WGSL for eventual WebGPU support.
https://github.com/flutter/engine/blob/main/impeller/docs/fa...
-
Ten Years of “Go: The Good, the Bad, and the Meh
https://github.com/flutter/engine/blob/main/impeller/docs/fa...
Impeller is the Skia replacement and is in full c++ that supports all platform.
It will be great if Go team can work with them(both are in Google) and make Impeller a render engine for Go.
With this no more bloated electron.js and no more Java/Swing or Qt, what a dream for the day.
-
The performance of the impeller engine
Likely it's https://github.com/flutter/engine/pull/41168 that fixed it, which got cherry picked into that commit.
-
Flutter embedded
Depends on what you want to do. The best documentation for writing the code where the engine should run in is in this header file.
-
Is Impeller now enabled by default on iOS?
Performance on large-screen and also high-refresh rate iPads was definitely a blind spot during the preview. We've done a ton of work to plug that gap since the preview though. Framebuffer fetch for advanced blends, improvement to blur performance, and using half-precision in performance critical shaders are just some of the improvements driven by these findings.
-
Ubuntu is now using Flutter for its installer
Yes. We use ATK for accessibility. FlAccessibleNode is where SemanticsNode and friends are exposed as ATK objects.
blurhash
-
Better Image Placeholders with ThumbHash
A very compact representation of a placeholder for an image. Store it inline with your data and show it while the real image is loading for a smoother loading experience. It's similar to BlurHash but with the following advantages:
-
Blurhash and Directus: How to Add Blurred Image Loading
Now that you have the generated blurhash string, all that’s left is to display it on your frontend. There are plenty of libraries that can help you do just that—links and documentation can be found in the official BlurHash repository. Let’s keep pushing the boundaries of UX and make our interfaces as pleasant and responsive as possible!
-
Show HN: AvifHash v0 – Compact and efficient image placeholders
AvifHash leverages the power of AVIF to create image placeholders that are both compact and efficient.
This Proof of Concept shows promising results: at 28 characters, AvifHash outperforms BlurHash https://blurha.sh/ (using 4x3 components) in quality and detail retention. At a similar quality, BlurHash needs 54 (5x5) to 76 characters (6x6 components).
Given that AVIF decoding is done by the web engine, AvifHash is very small: the entire demo page (including parsing and re-hydration code) is only 2.3 kB gzipped.
-
Rendering Images The Good Way In Your React Application
BlurHash website: blurha.sh
-
BlurHash: An Alternative to Generic Image Placeholders
Blogspam, including just taking over the source images.
Original: https://blurha.sh/ and https://blog.wolt.com/hq/2019/07/01/how-we-came-to-create-a-... (2019)
-
Generate thumbhash at edge for tiny progressive images
While it's similar to BlurHash, the color performance is much better for the same filesize. Here's a a demonstration of this from the demo page (with ThumbHash in the middle and BlurHash on the right):
- How do you do these placeholder for loading images based on color?
-
How to make a hash of the images with blurhash python package and react
Package Link - https://blurha.sh
-
blurred layer on top of other content using react-native-skia
If you do go this way, you can use https://blurha.sh
-
Migrating my website from Gatsby to Astro
No blurhash for images like Next or Gatsby
What are some alternatives?
awesome-tauri - 🚀 Awesome Tauri Apps, Plugins and Resources
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
angle - A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
thumbhash - A very compact representation of an image placeholder
website - Flutter documentation web site
clipview - Titanium Module for Android ClipView