基于 FRP 信号的人体工程学反应式 Bevy UI 库
in bengali, haalka means "light" (e.g. not heavy) and can also be used to mean "easy"haalka is an ergonomic reactive Bevy UI library powered by the FRP signals of jonmo with API ported from web UI libraries MoonZoon and Dominator.
…All examples are compiled to wasm for both webgl2 and webgpu (check compatibility) and deployed to github pages.
the example above, a simple counter
a basic button, port of
alignment API demo, port of and
scrollability API demo, inspired by
i can't believe it's not scrolling!
the classic, with adjustable grid size and tick rate
forward ecs changes to the ui, throttled button presses
dragging with z-index stacking
key_values_sorted webgl2 webgpu
text inputs, scrolling/viewport control, and reactive lists; promises made promises kept! (yes I take requests)
simple calculator, spurred by
nested dynamic lists, arbitrarily deeply nested retained reactivity, spurred by
sub menus, sliders, dropdowns, reusable composable widgets, gamepad navigation
grid, icons, drag and drop, tooltips
3D character anchor, customizable widgets
nine-patch buttons, screen size reactivity
character_editor webgl2 webgpu
scrollable buttons, mutable viewport, text input reactivity
futures_signals_jonmo_compat webgl2 webgpu
demonstrates that both futures-signals and jonmo signals backends can be used together
Or run them locally with cargo.
…Or with just, e.g. just example snake -r.
| bevy | haalka |
|---|---|
0.18 |
0.7 |
0.17 |
0.6 |
0.16 |
0.5 |
0.15 |
0.4 |
0.14 |
0.2 |
0.13 |
0.1 |
git clone --single-branch --branch main --recurse-submodules https://github.com/databasedav/haalka.gitnickel must be in your PATH)All code in this repository is dual-licensed under either:
at your option.
Assets used in examples may be licensed under different terms, see the examples README.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
暂无开放 Issues,或尚未同步最近议题。