Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

FC0a: ui/widgets/feathers_number_input ports at 0.99748, with feathers' FeathersNumberInput: the value as Rust's Display prints it ("1", not "1.0"), held within its HardLimit and shown through its units (LengthMeters, TimeSeconds, AngleDegrees: PI radians reads 180°), over a hard-stop gradient bar to its place in its SoftLimit, dimmed when disabled, with a sigil strip and an "X" label. NumberInputValue and NumberInputRange in f32, f64, i32 and i64. Blitz drew nothing for a one-sided border on a rounded box: the corner split angle divided by the other side's zero width (NaN); its limit now gives the whole arc to the side with the width (vendor/blitz-paint, with a unit test). The bar passes a moved soft-limit bar, an undimmed disabled field, the wrong sigil colour, radians for degrees and a missing label; pixel and region probes catch all five. borders, gradients and standard_widgets score as before. 98 of 102 ported examples pass

shinyobjectz601296ea0ea5
diff --git a/bench/bevy-parity/examples.list b/bench/bevy-parity/examples.list
index 96cabb39..273db698 100644
--- a/bench/bevy-parity/examples.list
+++ b/bench/bevy-parity/examples.list
@@ -101,3 +101,4 @@ ui/widgets/virtual_keyboard
ui/widgets/standard_widgets_observers
ui/widgets/standard_widgets
ui/widgets/feathers_counter
+ui/widgets/feathers_number_input
diff --git a/bench/bevy-parity/runs.tsv b/bench/bevy-parity/runs.tsv
index e3b58f43..8cb123f3 100644
--- a/bench/bevy-parity/runs.tsv
+++ b/bench/bevy-parity/runs.tsv
@@ -100,3 +100,4 @@ ui/widgets/virtual_keyboard - 10
ui/widgets/standard_widgets_observers - 10
ui/widgets/standard_widgets - 10
ui/widgets/feathers_counter - 10
+ui/widgets/feathers_number_input - 10
diff --git a/docs/bevy-parity.md b/docs/bevy-parity.md
index 23131249..cc28708a 100644
--- a/docs/bevy-parity.md
+++ b/docs/bevy-parity.md
@@ -4,7 +4,7 @@ Bevy v0.20.0's examples against their raea TSX ports (docs/control.feature FC0a)
don't edit. An example passes when every probed frame passes pixels (SSIM 0.98 and no 32 px tile off by more than 24 of 255) and cost (batch keys and
frame time at most 1.25x the example's). Wall time is one machine's, measured in the same run.
-Examples: **438**, ported **101**, passing **97**, excluded **16** (docs/bevy-parity/excluded.tsv), left **325**.
+Examples: **438**, ported **102**, passing **98**, excluded **16** (docs/bevy-parity/excluded.tsv), left **324**.
raea's frame ms is its update's plus the time React takes to step a frame for its 3D (step), which the example
doesn't pay.
@@ -120,12 +120,10 @@ doesn't pay.
| ui/images/ui_texture_slice_flip_and_tile | 10 | 1.000000 | 0 | 0 / 0 | 461 / 493 | 5 / 7 | 1 / 1 | 38.792 / 2.161 = 2.161 + 0 | yes | |
| ui/widgets/button | 10 | 0.999667 | 8 | 0 / 0 | 444 / 493 | 5 / 7 | 1 / 1 | 38.306 / 2 = 2.0 + 0 | yes | |
| ui/text/letter_spacing | 10 | 0.996228 | 13 | 0 / 0 | 455 / 493 | 5 / 7 | 1 / 1 | 42.621 / 2.613 = 2.613 + 0 | yes | |
-| ui/styling/borders | 10 | 0.993389 | 9 | 0 / 0 | 591 / 493 | 5 / 7 | 1 / 1 | 40.751 / 2.103 = 2.103 + 0 | yes | |
| ui/window_fallthrough | 10 | 0.992226 | 16 | 0 / 0 | 441 / 493 | 5 / 7 | 1 / 1 | 40.543 / 2.154 = 2.154 + 0 | yes | |
| ui/text/inline_image | 10 | 0.998400 | 7 | 0 / 0 | 446 / 493 | 5 / 7 | 1 / 1 | 40.3 / 1.803 = 1.803 + 0 | yes | |
| ui/layout/z_index | 10 | 1.000000 | 0 | 0 / 0 | 447 / 493 | 5 / 7 | 1 / 1 | 41.57 / 2.348 = 2.348 + 0 | yes | |
| ui/styling/stacked_gradients | 10 | 0.994550 | 1 | 0 / 0 | 442 / 493 | 5 / 7 | 1 / 1 | 37.884 / 2.055 = 2.055 + 0 | yes | |
-| ui/styling/gradients | 10 | 0.990467 | 13 | 0 / 0 | 553 / 493 | 5 / 7 | 1 / 1 | 41.442 / 1.574 = 1.574 + 0 | yes | |
| ui/text/generic_font_families | 10 | 0.990143 | 19 | 0 / 0 | 457 / 493 | 5 / 7 | 1 / 1 | 42.309 / 2.093 = 2.093 + 0 | yes | |
| ui/layout/ghost_nodes | 10 | 0.998540 | 9 | 0 / 0 | 455 / 493 | 5 / 7 | 1 / 1 | 39.986 / 2.3 = 2.3 + 0 | yes | |
| ui/relative_cursor_position | 10 | 0.999899 | 2 | 0 / 0 | 443 / 493 | 5 / 7 | 1 / 1 | 38.933 / 1.696 = 1.696 + 0 | yes | |
@@ -155,8 +153,11 @@ doesn't pay.
| ui/widgets/vertical_slider | 10 | 0.999004 | 11 | 0 / 0 | 459 / 493 | 5 / 7 | 1 / 1 | 37.247 / 1.764 = 1.764 + 0 | yes | |
| ui/widgets/virtual_keyboard | 10 | 0.993705 | 13 | 0 / 0 | 646 / 493 | 5 / 7 | 1 / 1 | 40.167 / 1.441 = 1.441 + 0 | yes | |
| ui/widgets/standard_widgets_observers | 10 | 0.998736 | 14 | 0 / 0 | 473 / 493 | 5 / 7 | 1 / 1 | 37.156 / 0.873 = 0.873 + 0 | yes | |
-| ui/widgets/standard_widgets | 10 | 0.997647 | 17 | 0 / 0 | 477 / 493 | 5 / 7 | 1 / 1 | 36.07 / 1.095 = 1.095 + 0 | yes | |
| ui/widgets/feathers_counter | 10 | 0.999941 | 1 | 0 / 0 | 493 / 493 | 5 / 7 | 1 / 1 | 37.899 / 0.893 = 0.893 + 0 | yes | |
+| ui/widgets/feathers_number_input | 10 | 0.997483 | 6 | 0 / 0 | 972 / 493 | 5 / 7 | 1 / 1 | 40.117 / 1.426 = 1.426 + 0 | yes | |
+| ui/styling/borders | 10 | 0.993389 | 9 | 0 / 0 | 591 / 493 | 5 / 7 | 1 / 1 | 40.239 / 1.538 = 1.538 + 0 | yes | |
+| ui/styling/gradients | 10 | 0.990467 | 13 | 0 / 0 | 553 / 493 | 5 / 7 | 1 / 1 | 37.214 / 0.988 = 0.988 + 0 | yes | |
+| ui/widgets/standard_widgets | 10 | 0.997647 | 17 | 0 / 0 | 477 / 493 | 5 / 7 | 1 / 1 | 37.124 / 0.901 = 0.901 + 0 | yes | |
## Excluded
diff --git a/docs/bevy-parity/results.jsonl b/docs/bevy-parity/results.jsonl
index ef8da7e0..62b52fc2 100644
--- a/docs/bevy-parity/results.jsonl
+++ b/docs/bevy-parity/results.jsonl
@@ -80,55 +80,68 @@
{"example":"2d/mesh2d_alpha_mode","frame":5,"ssim":0.989355,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":5,"frame_ms":67.958,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":12,"entities":499,"mesh_entities":0,"visible":0,"meshes":13,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.172,"step_ms":0.200,"cost_ms":2.372},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"3d/lightmaps","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":6,"entities":453,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame":10,"frame_ms":2.516,"materials":6,"mesh_entities":6,"meshes":11,"other_material":0,"visible":6},"raea":{"frame":19,"entities":506,"mesh_entities":6,"visible":6,"meshes":13,"materials":10,"batch_keys":6,"other_material":0,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame_ms":1.239,"step_ms":0.218,"cost_ms":1.457},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"3d/lightmaps","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":6,"entities":453,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame":5,"frame_ms":306.814,"materials":6,"mesh_entities":6,"meshes":11,"other_material":0,"visible":6},"raea":{"frame":14,"entities":506,"mesh_entities":6,"visible":6,"meshes":13,"materials":10,"batch_keys":6,"other_material":0,"extents":["0.0001 274.4000 279.6000","102.6464 82.5000 102.6464","103.2390 165.0000 103.2390","278.0000 274.4000 279.6001","3.2000 274.4000 279.6000","65.0000 0.0000 52.5000"],"frame_ms":4.238,"step_ms":0.217,"cost_ms":4.455},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999721,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.938,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.057,"step_ms":0.118,"cost_ms":1.175},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999721,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":58.038,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.908,"step_ms":0.183,"cost_ms":2.091},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":1.826,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.658,"step_ms":0.155,"cost_ms":1.813},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":59.165,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.294,"step_ms":0.250,"cost_ms":2.544},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":10,"ssim":0.998841,"tile":7,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":10,"frame_ms":1.94,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.129,"step_ms":0.173,"cost_ms":1.302},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_background_colors","frame":5,"ssim":0.998841,"tile":7,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":5,"frame_ms":64.804,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.572,"step_ms":0.233,"cost_ms":2.805},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998763,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":2.902,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.278,"step_ms":0.236,"cost_ms":1.514},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998763,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":5,"frame_ms":65.578,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.193,"step_ms":0.333,"cost_ms":3.526},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"2d/mesh2d_vertex_color_texture","frame":10,"ssim":0.998651,"tile":6,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":37.793,"materials":1,"mesh_entities":0,"meshes":6,"other_material":0,"visible":0},"raea":{"frame":17,"entities":495,"mesh_entities":0,"visible":0,"meshes":9,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.347,"step_ms":1.364,"cost_ms":2.711},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
{"example":"2d/mesh2d_repeated_texture","frame":10,"ssim":0.991205,"tile":17,"bevy":{"batch_keys":0,"entities":437,"extents":[],"frame":10,"frame_ms":26.298,"materials":1,"mesh_entities":0,"meshes":8,"other_material":0,"visible":0},"raea":{"frame":17,"entities":496,"mesh_entities":0,"visible":0,"meshes":10,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.62,"step_ms":0.273,"cost_ms":1.893},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/flex_layout","frame":10,"ssim":0.992327,"tile":8,"bevy":{"batch_keys":0,"entities":602,"extents":[],"frame":10,"frame_ms":35.062,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.252,"step_ms":0.091,"cost_ms":1.343},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.997488,"tile":7,"bevy":{"batch_keys":0,"entities":465,"extents":[],"frame":10,"frame_ms":32.281,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.203,"step_ms":0.209,"cost_ms":1.412},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/widgets/button","frame":10,"ssim":0.999633,"tile":8,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":33.01,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.046,"step_ms":0.173,"cost_ms":1.219},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/letter_spacing","frame":10,"ssim":0.996458,"tile":13,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":33.285,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.961,"step_ms":0.127,"cost_ms":1.088},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/borders","frame":10,"ssim":0.992828,"tile":9,"bevy":{"batch_keys":0,"entities":591,"extents":[],"frame":10,"frame_ms":33.521,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.02,"step_ms":0.091,"cost_ms":1.111},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/window_fallthrough","frame":10,"ssim":0.992068,"tile":16,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":32.32,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.98,"step_ms":0.136,"cost_ms":1.116},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/z_index","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":32.169,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.231,"step_ms":0.155,"cost_ms":1.386},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/stacked_gradients","frame":10,"ssim":0.994550,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":46.978,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.255,"step_ms":0.173,"cost_ms":1.428},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/styling/gradients","frame":10,"ssim":0.988141,"tile":14,"bevy":{"batch_keys":0,"entities":553,"extents":[],"frame":10,"frame_ms":40.253,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.089,"step_ms":2.336,"cost_ms":4.425},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/ghost_nodes","frame":10,"ssim":0.998544,"tile":9,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":35.333,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.13,"step_ms":0.182,"cost_ms":1.312},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/relative_cursor_position","frame":10,"ssim":0.999907,"tile":2,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":52.279,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.723,"step_ms":0.255,"cost_ms":3.978},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_target_camera","frame":10,"ssim":0.998769,"tile":7,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":39.413,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.71,"step_ms":null,"cost_ms":1.71},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/grid","frame":10,"ssim":0.995059,"tile":14,"bevy":{"batch_keys":0,"entities":482,"extents":[],"frame":10,"frame_ms":34.457,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.496,"step_ms":null,"cost_ms":1.496},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/anchor_layout","frame":10,"ssim":0.997421,"tile":9,"bevy":{"batch_keys":0,"entities":468,"extents":[],"frame":10,"frame_ms":33.145,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.417,"step_ms":null,"cost_ms":1.417},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/layout/size_constraints","frame":10,"ssim":0.991466,"tile":19,"bevy":{"batch_keys":0,"entities":608,"extents":[],"frame":10,"frame_ms":31.358,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.993,"step_ms":null,"cost_ms":0.993},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_debug","frame":10,"ssim":0.984022,"tile":18,"bevy":{"batch_keys":0,"entities":458,"extents":[],"frame":10,"frame_ms":35.188,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.093,"step_ms":null,"cost_ms":1.093},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_transform","frame":10,"ssim":0.999095,"tile":6,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":36.534,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.372,"step_ms":null,"cost_ms":1.372},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/scroll","frame":10,"ssim":0.997196,"tile":14,"bevy":{"batch_keys":0,"entities":1988,"extents":[],"frame":10,"frame_ms":35.528,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.129,"step_ms":null,"cost_ms":1.129},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/drag_to_scroll","frame":10,"ssim":0.999993,"tile":1,"bevy":{"batch_keys":0,"entities":7644,"extents":[],"frame":10,"frame_ms":35.892,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.362,"step_ms":null,"cost_ms":1.362},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text_wrap_debug","frame":10,"ssim":0.986254,"tile":15,"bevy":{"batch_keys":0,"entities":589,"extents":[],"frame":10,"frame_ms":33.656,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.328,"step_ms":null,"cost_ms":1.328},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/scrollbars","frame":10,"ssim":0.994524,"tile":21,"bevy":{"batch_keys":0,"entities":462,"extents":[],"frame":10,"frame_ms":43.63,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.382,"step_ms":null,"cost_ms":1.382},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":10,"ssim":0.991774,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":2.498,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.731,"step_ms":null,"cost_ms":1.731},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_weights","frame":5,"ssim":0.991774,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":72.229,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.06,"step_ms":null,"cost_ms":2.06},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990823,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":2.3,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.548,"step_ms":null,"cost_ms":2.548},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990823,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":72.797,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.018,"step_ms":null,"cost_ms":3.018},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/text","frame":10,"ssim":0.990913,"tile":8,"bevy":{"batch_keys":0,"entities":459,"extents":[],"frame":10,"frame_ms":37.635,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.586,"step_ms":null,"cost_ms":1.586},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/generic_font_families","frame":10,"ssim":0.990063,"tile":19,"bevy":{"batch_keys":0,"entities":457,"extents":[],"frame":10,"frame_ms":40.255,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.221,"step_ms":null,"cost_ms":1.221},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":10,"ssim":0.993984,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":2.066,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.468,"step_ms":null,"cost_ms":1.468},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_variations","frame":5,"ssim":0.993984,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":5,"frame_ms":73.631,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.268,"step_ms":null,"cost_ms":2.268},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/font_query","frame":10,"ssim":0.993297,"tile":19,"bevy":{"batch_keys":0,"entities":467,"extents":[],"frame":10,"frame_ms":53.646,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.847,"step_ms":null,"cost_ms":2.847},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":10,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":2.37,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.44,"step_ms":null,"cost_ms":1.44},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node","frame":5,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":5,"frame_ms":80.896,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.154,"step_ms":null,"cost_ms":2.154},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999776,"tile":6,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":1.721,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.091,"step_ms":null,"cost_ms":1.091},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999776,"tile":6,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":67.844,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.078,"step_ms":null,"cost_ms":3.078},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998941,"tile":8,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":38.224,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.264,"step_ms":null,"cost_ms":1.264},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990813,"tile":16,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":42.832,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.831,"step_ms":null,"cost_ms":2.831},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":45.245,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.59,"step_ms":null,"cost_ms":2.59},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/text/inline_image","frame":10,"ssim":0.998473,"tile":8,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":43.171,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.018,"step_ms":null,"cost_ms":2.018},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/ui_scaling","frame":10,"ssim":0.999856,"tile":5,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":42.162,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.411,"step_ms":null,"cost_ms":2.411},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_transform","frame":10,"ssim":0.995397,"tile":12,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":45.188,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.255,"step_ms":null,"cost_ms":2.255},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/scroll_and_overflow/overflow_debug","frame":10,"ssim":0.996511,"tile":10,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":39.92,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.736,"step_ms":null,"cost_ms":1.736},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
-{"example":"ui/images/image_node_resizing","frame":10,"ssim":0.998112,"tile":9,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":31.752,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":492,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.604,"step_ms":null,"cost_ms":1.604},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":10,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":2.834,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.231,"step_ms":null,"cost_ms":2.231},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/transparency_ui","frame":5,"ssim":0.999725,"tile":3,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":77.618,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.608,"step_ms":null,"cost_ms":2.608},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":2.355,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.016,"step_ms":null,"cost_ms":2.016},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/fixed_node","frame":5,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":5,"frame_ms":70.45,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.252,"step_ms":null,"cost_ms":2.252},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/flex_layout","frame":10,"ssim":0.992175,"tile":8,"bevy":{"batch_keys":0,"entities":602,"extents":[],"frame":10,"frame_ms":42.793,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.089,"step_ms":null,"cost_ms":2.089},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":10,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":2.647,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.917,"step_ms":null,"cost_ms":1.917},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node","frame":5,"ssim":0.999965,"tile":0,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":5,"frame_ms":72.43,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.588,"step_ms":null,"cost_ms":3.588},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":10,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":2.189,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.169,"step_ms":null,"cost_ms":2.169},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_weights","frame":5,"ssim":0.991888,"tile":17,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":75.477,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":4.094,"step_ms":null,"cost_ms":4.094},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":10,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":2.418,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.022,"step_ms":null,"cost_ms":2.022},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_variations","frame":5,"ssim":0.994047,"tile":20,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":5,"frame_ms":75.184,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.708,"step_ms":null,"cost_ms":2.708},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":10,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":10,"frame_ms":2.633,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.383,"step_ms":null,"cost_ms":2.383},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_background_colors","frame":5,"ssim":0.998935,"tile":6,"bevy":{"batch_keys":0,"entities":505,"extents":[],"frame":5,"frame_ms":69.545,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.366,"step_ms":null,"cost_ms":3.366},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":10,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":10,"frame_ms":2.327,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.946,"step_ms":null,"cost_ms":1.946},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/strikethrough_and_underline","frame":5,"ssim":0.990854,"tile":15,"bevy":{"batch_keys":0,"entities":454,"extents":[],"frame":5,"frame_ms":73.353,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.916,"step_ms":null,"cost_ms":2.916},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":10,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":2.288,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":3.005,"step_ms":null,"cost_ms":3.005},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow","frame":5,"ssim":0.998778,"tile":4,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":5,"frame_ms":65.188,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.319,"step_ms":null,"cost_ms":2.319},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_clip_margin","frame":10,"ssim":0.997330,"tile":7,"bevy":{"batch_keys":0,"entities":465,"extents":[],"frame":10,"frame_ms":36.682,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.812,"step_ms":null,"cost_ms":1.812},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":10,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":10,"frame_ms":2.298,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.266,"step_ms":null,"cost_ms":2.266},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas","frame":5,"ssim":0.999781,"tile":5,"bevy":{"batch_keys":0,"entities":445,"extents":[],"frame":5,"frame_ms":64.26,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":12,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.248,"step_ms":null,"cost_ms":2.248},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice","frame":10,"ssim":0.998933,"tile":8,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":37.554,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.148,"step_ms":null,"cost_ms":2.148},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_atlas_slice","frame":10,"ssim":0.990805,"tile":16,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":40.22,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.777,"step_ms":null,"cost_ms":1.777},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/ui_texture_slice_flip_and_tile","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":461,"extents":[],"frame":10,"frame_ms":38.792,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.161,"step_ms":null,"cost_ms":2.161},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/button","frame":10,"ssim":0.999667,"tile":8,"bevy":{"batch_keys":0,"entities":444,"extents":[],"frame":10,"frame_ms":38.306,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.0,"step_ms":null,"cost_ms":2},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/letter_spacing","frame":10,"ssim":0.996228,"tile":13,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":42.621,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.613,"step_ms":null,"cost_ms":2.613},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/window_fallthrough","frame":10,"ssim":0.992226,"tile":16,"bevy":{"batch_keys":0,"entities":441,"extents":[],"frame":10,"frame_ms":40.543,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.154,"step_ms":null,"cost_ms":2.154},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/inline_image","frame":10,"ssim":0.998400,"tile":7,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":40.3,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.803,"step_ms":null,"cost_ms":1.803},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/z_index","frame":10,"ssim":1.000000,"tile":0,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":41.57,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.348,"step_ms":null,"cost_ms":2.348},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/stacked_gradients","frame":10,"ssim":0.994550,"tile":1,"bevy":{"batch_keys":0,"entities":442,"extents":[],"frame":10,"frame_ms":37.884,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.055,"step_ms":null,"cost_ms":2.055},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/generic_font_families","frame":10,"ssim":0.990143,"tile":19,"bevy":{"batch_keys":0,"entities":457,"extents":[],"frame":10,"frame_ms":42.309,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.093,"step_ms":null,"cost_ms":2.093},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/ghost_nodes","frame":10,"ssim":0.998540,"tile":9,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":39.986,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.3,"step_ms":null,"cost_ms":2.3},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/relative_cursor_position","frame":10,"ssim":0.999899,"tile":2,"bevy":{"batch_keys":0,"entities":443,"extents":[],"frame":10,"frame_ms":38.933,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.696,"step_ms":null,"cost_ms":1.696},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_target_camera","frame":10,"ssim":0.998726,"tile":7,"bevy":{"batch_keys":0,"entities":452,"extents":[],"frame":10,"frame_ms":39.367,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.861,"step_ms":null,"cost_ms":1.861},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_wrap_debug","frame":10,"ssim":0.985334,"tile":15,"bevy":{"batch_keys":0,"entities":589,"extents":[],"frame":10,"frame_ms":41.608,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.778,"step_ms":null,"cost_ms":2.778},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/grid","frame":10,"ssim":0.994691,"tile":14,"bevy":{"batch_keys":0,"entities":482,"extents":[],"frame":10,"frame_ms":40.094,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.305,"step_ms":null,"cost_ms":2.305},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_scaling","frame":10,"ssim":0.999855,"tile":5,"bevy":{"batch_keys":0,"entities":446,"extents":[],"frame":10,"frame_ms":38.124,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.896,"step_ms":null,"cost_ms":1.896},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/anchor_layout","frame":10,"ssim":0.997324,"tile":9,"bevy":{"batch_keys":0,"entities":468,"extents":[],"frame":10,"frame_ms":39.711,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.871,"step_ms":null,"cost_ms":1.871},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/layout/size_constraints","frame":10,"ssim":0.991720,"tile":19,"bevy":{"batch_keys":0,"entities":608,"extents":[],"frame":10,"frame_ms":41.814,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.166,"step_ms":null,"cost_ms":2.166},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_transform","frame":10,"ssim":0.995396,"tile":12,"bevy":{"batch_keys":0,"entities":447,"extents":[],"frame":10,"frame_ms":38.294,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.072,"step_ms":null,"cost_ms":2.072},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text","frame":10,"ssim":0.990695,"tile":8,"bevy":{"batch_keys":0,"entities":459,"extents":[],"frame":10,"frame_ms":40.745,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.046,"step_ms":null,"cost_ms":2.046},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/text_debug","frame":10,"ssim":0.983961,"tile":18,"bevy":{"batch_keys":0,"entities":458,"extents":[],"frame":10,"frame_ms":42.062,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.345,"step_ms":null,"cost_ms":2.345},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_transform","frame":10,"ssim":0.999110,"tile":6,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":37.97,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.578,"step_ms":null,"cost_ms":2.578},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/scroll","frame":10,"ssim":0.997043,"tile":14,"bevy":{"batch_keys":0,"entities":1988,"extents":[],"frame":10,"frame_ms":40.802,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.915,"step_ms":null,"cost_ms":1.915},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/drag_to_scroll","frame":10,"ssim":0.999993,"tile":1,"bevy":{"batch_keys":0,"entities":7644,"extents":[],"frame":10,"frame_ms":40.74,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.725,"step_ms":null,"cost_ms":1.725},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/scrollbars","frame":10,"ssim":0.994530,"tile":21,"bevy":{"batch_keys":0,"entities":462,"extents":[],"frame":10,"frame_ms":41.84,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.349,"step_ms":null,"cost_ms":2.349},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/scroll_and_overflow/overflow_debug","frame":10,"ssim":0.996609,"tile":9,"bevy":{"batch_keys":0,"entities":463,"extents":[],"frame":10,"frame_ms":37.154,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.473,"step_ms":null,"cost_ms":1.473},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/text/font_query","frame":10,"ssim":0.993893,"tile":19,"bevy":{"batch_keys":0,"entities":467,"extents":[],"frame":10,"frame_ms":38.527,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.99,"step_ms":null,"cost_ms":1.99},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/images/image_node_resizing","frame":10,"ssim":0.998153,"tile":8,"bevy":{"batch_keys":0,"entities":455,"extents":[],"frame":10,"frame_ms":37.977,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.68,"step_ms":null,"cost_ms":1.68},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/render_ui_to_texture","frame":10,"ssim":0.999986,"tile":1,"bevy":{"batch_keys":1,"entities":450,"extents":["0.5000 0.5000 0.5000"],"frame":10,"frame_ms":37.693,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":496,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["0.5000 0.5000 0.5000"],"frame_ms":1.948,"step_ms":null,"cost_ms":1.948},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/ui_drag_and_drop","frame":10,"ssim":0.999036,"tile":3,"bevy":{"batch_keys":0,"entities":1241,"extents":[],"frame":10,"frame_ms":37.104,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.636,"step_ms":null,"cost_ms":1.636},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/navigation/directional_navigation","frame":10,"ssim":0.998119,"tile":8,"bevy":{"batch_keys":0,"entities":471,"extents":[],"frame":10,"frame_ms":38.946,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.937,"step_ms":null,"cost_ms":1.937},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/navigation/directional_navigation_overrides","frame":10,"ssim":0.996079,"tile":10,"bevy":{"batch_keys":0,"entities":564,"extents":[],"frame":10,"frame_ms":37.066,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.282,"step_ms":null,"cost_ms":1.282},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/headless_tabs","frame":10,"ssim":0.992422,"tile":11,"bevy":{"batch_keys":0,"entities":478,"extents":[],"frame":10,"frame_ms":37.782,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.615,"step_ms":null,"cost_ms":1.615},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/tab_navigation","frame":10,"ssim":0.997861,"tile":4,"bevy":{"batch_keys":0,"entities":500,"extents":[],"frame":10,"frame_ms":40.81,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":2.326,"step_ms":null,"cost_ms":2.326},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/viewport_node","frame":10,"ssim":0.999871,"tile":0,"bevy":{"batch_keys":1,"entities":446,"extents":["2.5000 2.5000 2.5000"],"frame":10,"frame_ms":38.34,"materials":2,"mesh_entities":1,"meshes":6,"other_material":0,"visible":1},"raea":{"frame":17,"entities":498,"mesh_entities":1,"visible":1,"meshes":8,"materials":2,"batch_keys":1,"other_material":0,"extents":["2.5000 2.5000 2.5000"],"frame_ms":2.039,"step_ms":null,"cost_ms":2.039},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/vertical_slider","frame":10,"ssim":0.999004,"tile":11,"bevy":{"batch_keys":0,"entities":459,"extents":[],"frame":10,"frame_ms":37.247,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.764,"step_ms":null,"cost_ms":1.764},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/virtual_keyboard","frame":10,"ssim":0.993705,"tile":13,"bevy":{"batch_keys":0,"entities":646,"extents":[],"frame":10,"frame_ms":40.167,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.441,"step_ms":null,"cost_ms":1.441},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/standard_widgets_observers","frame":10,"ssim":0.998736,"tile":14,"bevy":{"batch_keys":0,"entities":473,"extents":[],"frame":10,"frame_ms":37.156,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.873,"step_ms":null,"cost_ms":0.873},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/feathers_counter","frame":10,"ssim":0.999941,"tile":1,"bevy":{"batch_keys":0,"entities":493,"extents":[],"frame":10,"frame_ms":37.899,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.893,"step_ms":null,"cost_ms":0.893},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/feathers_number_input","frame":10,"ssim":0.997483,"tile":6,"bevy":{"batch_keys":0,"entities":972,"extents":[],"frame":10,"frame_ms":40.117,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.426,"step_ms":null,"cost_ms":1.426},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/borders","frame":10,"ssim":0.993389,"tile":9,"bevy":{"batch_keys":0,"entities":591,"extents":[],"frame":10,"frame_ms":40.239,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":1.538,"step_ms":null,"cost_ms":1.538},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/styling/gradients","frame":10,"ssim":0.990467,"tile":13,"bevy":{"batch_keys":0,"entities":553,"extents":[],"frame":10,"frame_ms":37.214,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.988,"step_ms":null,"cost_ms":0.988},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
+{"example":"ui/widgets/standard_widgets","frame":10,"ssim":0.997647,"tile":17,"bevy":{"batch_keys":0,"entities":477,"extents":[],"frame":10,"frame_ms":37.124,"materials":1,"mesh_entities":0,"meshes":5,"other_material":0,"visible":0},"raea":{"frame":17,"entities":493,"mesh_entities":0,"visible":0,"meshes":7,"materials":1,"batch_keys":0,"other_material":0,"extents":[],"frame_ms":0.901,"step_ms":null,"cost_ms":0.901},"pixels":true,"draws":true,"time":true,"pass":true,"why":""}
diff --git a/sdk/raea/bench/bevy-parity/ui/widgets/feathers_number_input.tsx b/sdk/raea/bench/bevy-parity/ui/widgets/feathers_number_input.tsx
new file mode 100644
index 00000000..158ce118
--- /dev/null
+++ b/sdk/raea/bench/bevy-parity/ui/widgets/feathers_number_input.tsx
@@ -0,0 +1,68 @@
+// Bevy v0.20.0 examples/ui/widgets/feathers_number_input.rs in raea's TSX (docs/control.feature FC0a): under feathers'
+// dark UiTheme, a full-window column on WINDOW_BG, 8 px padding and 8 px rows, wrapping into a second column, of 18
+// demo fields. Each is a 200 px column of a label (Fira Sans 14 px, TEXT_MAIN) over a row, spaced between, of a
+// FeathersNumberInput growing to at most 120 px and a "-" label; the f32 fields put 4 px between label and row, the
+// sigil, f64 and i32 fields none. The inputs show their value (Rust's Display: "1", not "1.0") over a slider bar to
+// where it sits in a SoftLimit; precision, step and wrap act only on drags; "soft limit + disabled" is dimmed; the
+// sigil field has a 4 px TEXT_INPUT_X_AXIS strip and an "X"; units append m, s or ° (PI radians shown as 180°).
+// Drags, typing and hover need input. Bevy's Camera2d over the default clear colour is the layered <Canvas3D>, in
+// Bevy's default 1280 x 720 window.
+import { AbsoluteFill, Composition, registerRoot } from "raea";
+import { Canvas3D } from "raea/3d";
+import { Node, percent, px } from "raea/ui";
+import {
+ AngleDegrees, FeathersNumberInput, LengthMeters, NumberInputRange, NumberInputValue, ThemeBackgroundColor, TimeSeconds, UiTheme, create_dark_theme, label, tokens,
+ type FeathersNumberInputProps,
+} from "raea/feathers";
+
+type Options = Omit<FeathersNumberInputProps, "value">;
+
+function Field({ caption, value, gap, options = {} }: { caption: string; value: NumberInputValue; gap: boolean; options?: Options }) {
+ return (
+ <Node display="Flex" flex_direction="Column" align_items="Start" width={px(200)} row_gap={gap ? px(4) : undefined}>
+ {label(caption)}
+ <Node display="Flex" flex_direction="Row" align_items="Center" align_self="Stretch" justify_content="SpaceBetween">
+ <FeathersNumberInput value={value} {...options} flex_grow={1} max_width={px(120)} />
+ {label("-")}
+ </Node>
+ </Node>
+ );
+}
+
+const f32 = (caption: string, v: number, options?: Options) => <Field key={caption} caption={caption} value={NumberInputValue.F32(v)} gap options={options} />;
+const f64 = (caption: string, v: number, options?: Options) => <Field key={caption} caption={caption} value={NumberInputValue.F64(v)} gap={false} options={options} />;
+const i32 = (caption: string, v: number, options?: Options) => <Field key={caption} caption={caption} value={NumberInputValue.I32(v)} gap={false} options={options} />;
+
+function Shot() {
+ return (
+ <AbsoluteFill>
+ <Canvas3D layered clearColor="rgb(43, 44, 47)" />
+ <UiTheme theme={create_dark_theme()}>
+ <ThemeBackgroundColor token={tokens.WINDOW_BG}>
+ <Node width={percent(100)} height={percent(100)} align_items="Start" justify_content="Start" display="Flex" flex_direction="Column" flex_wrap="Wrap" padding={{ left: px(8), right: px(8), top: px(8), bottom: px(8) }} row_gap={px(8)}>
+ {f32("none (bare)", 1)}
+ {f32("soft limit", 2, { soft_limit: NumberInputRange.F32(0, 10) })}
+ {f32("hard limit", 3, { hard_limit: NumberInputRange.F32(-100, 100) })}
+ {f32("soft + hard", 4, { soft_limit: NumberInputRange.F32(0, 10), hard_limit: NumberInputRange.F32(-100, 100) })}
+ {f32("precision(0)", 5, { precision: 0 })}
+ {f32("precision(2)", 6, { precision: 2 })}
+ {f32("precision(4)", 7, { precision: 4 })}
+ {f32("step(1.0)", 8, { step: 1 })}
+ {f64("f64: soft limit", 1, { soft_limit: NumberInputRange.F64(0, 10) })}
+ {f64("f64: soft limit + precision(2)", 1, { soft_limit: NumberInputRange.F64(0, 10), precision: 2 })}
+ {i32("i32: bare", 1)}
+ {i32("i32: soft limit", 1, { soft_limit: NumberInputRange.I32(0, 10) })}
+ <Field key="sigil" caption="precision(2) + sigil" value={NumberInputValue.F32(6)} gap={false} options={{ precision: 2, sigil_color: tokens.TEXT_INPUT_X_AXIS, label_text: "X" }} />
+ {f32("soft limit + disabled", 2, { disabled: true, soft_limit: NumberInputRange.F32(0, 10) })}
+ {f32("hard limit + wrap", 0, { hard_limit: NumberInputRange.F32(-180, 180), wrap: "Wrap" })}
+ {f32("in meters", 2, { units: LengthMeters })}
+ {f32("in seconds", 2, { units: TimeSeconds })}
+ {f32("in degrees", Math.PI, { units: AngleDegrees })}
+ </Node>
+ </ThemeBackgroundColor>
+ </UiTheme>
+ </AbsoluteFill>
+ );
+}
+
+registerRoot(() => <Composition id="main" component={Shot} durationInFrames={11} fps={60} width={1280} height={720} />);
diff --git a/sdk/raea/conformance/feathers-number.test.tsx b/sdk/raea/conformance/feathers-number.test.tsx
new file mode 100644
index 00000000..7226a284
--- /dev/null
+++ b/sdk/raea/conformance/feathers-number.test.tsx
@@ -0,0 +1,49 @@
+// docs/control.feature FC0a: bevy_feathers' FeathersNumberInput (ui/widgets/feathers_number_input). Its text is the
+// value as Rust's Display prints it, held within its HardLimit and shown through its units; its slider bar runs to
+// where the value sits in its SoftLimit.
+import { describe, expect, test } from "bun:test";
+import { AngleDegrees, Dimensionless, FeathersNumberInput, LengthMeters, NumberInputRange, NumberInputValue, TimeSeconds, UiTheme, create_dark_theme, tokens } from "raea/feathers";
+import { renderFrame } from "../src/test";
+
+const html = (el: React.ReactElement) => renderFrame(<UiTheme theme={create_dark_theme()}>{el}</UiTheme>, { frame: 0, width: 320, height: 240, fps: 60, durationInFrames: 10 });
+const show = (v: NumberInputValue) => Dimensionless.format(v, false);
+
+describe("a number's text, as Rust's {} prints it", () => {
+ test("the shortest digits that read back as the same f32 or f64, with no .0 and no exponent", () => {
+ expect(show(NumberInputValue.F32(1))).toBe("1");
+ expect(show(NumberInputValue.F32(0.1))).toBe("0.1");
+ expect(show(NumberInputValue.F32(1 / 3))).toBe("0.33333334");
+ expect(show(NumberInputValue.F64(1 / 3))).toBe("0.3333333333333333");
+ expect(show(NumberInputValue.F32(1e-7))).toBe("0.0000001");
+ expect(show(NumberInputValue.F64(1e21))).toBe("1000000000000000000000");
+ expect(show(NumberInputValue.F32(-0))).toBe("-0");
+ expect(show(NumberInputValue.F32(NaN))).toBe("NaN");
+ expect(show(NumberInputValue.F64(-Infinity))).toBe("-inf");
+ expect(show(NumberInputValue.I32(-7))).toBe("-7");
+ });
+ test("units scale the canonical value and append their suffix; degrees edit as d", () => {
+ expect(AngleDegrees.format(NumberInputValue.F32(Math.PI), false)).toBe("180°");
+ expect(AngleDegrees.format(NumberInputValue.F32(Math.PI), true)).toBe("180d");
+ expect(LengthMeters.format(NumberInputValue.F32(2), false)).toBe("2m");
+ expect(TimeSeconds.format(NumberInputValue.I32(3), false)).toBe("3s");
+ });
+ test("an integer outside its type is refused", () => {
+ expect(() => NumberInputValue.I32(2 ** 31)).toThrow(/whole number/);
+ expect(() => NumberInputValue.I32(1.5)).toThrow(/whole number/);
+ });
+});
+
+describe("FeathersNumberInput", () => {
+ test("its value held within its HardLimit, the bar to its place in its SoftLimit", () => {
+ const out = html(<FeathersNumberInput value={NumberInputValue.F32(250)} hard_limit={NumberInputRange.F32(-100, 100)} soft_limit={NumberInputRange.F32(0, 400)} />);
+ expect(out).toContain(">100<");
+ expect(out).toMatch(/linear-gradient\(1.5707963267948966rad in srgb, rgba\(32, 110, 201, 1\) 0%, rgba\(32, 110, 201, 1\) 25%, rgba\(54, 55, 59, 1\) 25%/);
+ });
+ test("no SoftLimit, no bar; a label adds a 4 px border in the sigil's colour", () => {
+ expect(html(<FeathersNumberInput value={NumberInputValue.F32(1)} />)).toMatch(/1\) 0%, rgba\(54, 55, 59, 1\) 0%/);
+ expect(html(<FeathersNumberInput value={NumberInputValue.F32(1)} sigil_color={tokens.TEXT_INPUT_X_AXIS} label_text="X" />)).toMatch(/border-width:0px 0px 0px 4px;border-style:solid;border-color:rgba\(171, 64, 81, 1\)/);
+ });
+ test("a range of another type than the value is refused", () => {
+ expect(() => html(<FeathersNumberInput value={NumberInputValue.F32(1)} soft_limit={NumberInputRange.I32(0, 10)} />)).toThrow(/NumberInputRange.F32/);
+ });
+});
diff --git a/sdk/raea/src/feathers.ts b/sdk/raea/src/feathers.ts
index 1d701711..17624f3a 100644
--- a/sdk/raea/src/feathers.ts
+++ b/sdk/raea/src/feathers.ts
@@ -1,4 +1,4 @@
// raea/feathers (bevy_feathers, docs/control.feature FC0a): Bevy's widget set, its dark theme and its fonts, drawn by
// the page.
-export { tokens, palette, create_dark_theme, UiTheme, ThemeContext, ThemedText, context_color, useThemeColor, fonts, size, FeathersButton, VirtualKeyboard, to_border_radius, caption, label, label_dim, label_small, ThemeBackgroundColor, ThemeBorderColor, ThemeTextColor } from "@raea/render/feathers";
-export type { ThemeToken, ThemeProps, SurfaceLevel, ButtonVariant, RoundedCorners, FeathersButtonProps } from "@raea/render/feathers";
+export { tokens, palette, create_dark_theme, UiTheme, ThemeContext, ThemedText, context_color, useThemeColor, fonts, size, FeathersButton, VirtualKeyboard, to_border_radius, caption, label, label_dim, label_small, ThemeBackgroundColor, ThemeBorderColor, ThemeTextColor, FeathersNumberInput, NumberInputValue, NumberInputRange, StandardUnitKind, Dimensionless, LengthMeters, TimeSeconds, AngleDegrees } from "@raea/render/feathers";
+export type { ThemeToken, ThemeProps, SurfaceLevel, ButtonVariant, RoundedCorners, FeathersButtonProps, FeathersNumberInputProps, NumberInputWrap, NumberKind, UnitsFormat, StandardUnitItem } from "@raea/render/feathers";
diff --git a/sdk/render/src/bevy3d/feathers/index.ts b/sdk/render/src/bevy3d/feathers/index.ts
index f8e53f10..00482f7c 100644
--- a/sdk/render/src/bevy3d/feathers/index.ts
+++ b/sdk/render/src/bevy3d/feathers/index.ts
@@ -5,3 +5,5 @@ export { UiTheme, ThemeContext, ThemedText, context_color, useThemeColor } from
export { fonts, size } from "./constants";
export { FeathersButton, VirtualKeyboard, to_border_radius, type ButtonVariant, type RoundedCorners, type FeathersButtonProps } from "./controls";
export { caption, label, label_dim, label_small, ThemeBackgroundColor, ThemeBorderColor, ThemeTextColor } from "./display";
+export { FeathersNumberInput, type FeathersNumberInputProps, type NumberInputWrap } from "./number-input";
+export { NumberInputValue, NumberInputRange, StandardUnitKind, Dimensionless, LengthMeters, TimeSeconds, AngleDegrees, type NumberKind, type UnitsFormat, type StandardUnitItem } from "./number-value";
diff --git a/sdk/render/src/bevy3d/feathers/number-input.tsx b/sdk/render/src/bevy3d/feathers/number-input.tsx
new file mode 100644
index 00000000..af747e19
--- /dev/null
+++ b/sdk/render/src/bevy3d/feathers/number-input.tsx
@@ -0,0 +1,85 @@
+// bevy_feathers' FeathersNumberInput (number_input.rs on text_input.rs's FeathersTextInputContainer and
+// FeathersTextInput; docs/control.feature FC0a), as Bevy spawns it and number_input_init leaves it. A ROW_HEIGHT row
+// on TEXT_INPUT_BG with 4 px corners, its left border 4 px in the sigil's colour when it has a label (an "X" in Fira
+// Sans 13 px on TEXT_INPUT_LABEL_BG, 6 px each side); then the editable text, growing to fill the row, its value
+// centred in Fira Sans 13 px on a 24 px line, over a hard-stop gradient: the slider bar (SLIDER_BAR) from the left to
+// where the value sits in its SoftLimit (no bar without one), SLIDER_BG after. The text is the value held within its
+// HardLimit, through its units (Dimensionless by default). InteractionDisabled dims the bar, the field and the text.
+// NumberInputPrecision, NumberInputStep and NumberInputWrap act only on drags and edits, which need input, as do the
+// hover and press colours, the chevrons (shown on hover) and the caret.
+import { Node, Text, type NodeProps } from "../ui";
+import { EditableText } from "../ui-edit";
+import { LinearGradient, ColorStop } from "../ui-gradient";
+import { UiRect, percent, px } from "../ui-val";
+import { fonts, size } from "./constants";
+import { to_border_radius } from "./controls";
+import { useThemeColor } from "./theme";
+import { tokens, type ThemeToken } from "./tokens";
+import { Dimensionless, clamp, thumb_position, unpack, type NumberInputRange, type NumberInputValue, type UnitsFormat } from "./number-value";
+
+/** whether a drag or step past a HardLimit wraps round. @bevy bevy_feathers::controls::NumberInputWrap */
+export type NumberInputWrap = "NoWrap" | "Wrap";
+
+export interface FeathersNumberInputProps extends NodeProps {
+ /** NumberInputValue: the value shown */
+ value: NumberInputValue;
+ /** SoftLimit: the slider bar's range (no bar without one) */
+ soft_limit?: NumberInputRange;
+ /** HardLimit: the value is held within it */
+ hard_limit?: NumberInputRange;
+ /** NumberInputPrecision: decimal places a drag rounds to */
+ precision?: number;
+ /** NumberInputStep: a drag's step */
+ step?: number;
+ /** NumberInputWrap (NoWrap by default) */
+ wrap?: NumberInputWrap;
+ /** NumberInputUnits: LengthMeters, TimeSeconds, AngleDegrees (Dimensionless by default) */
+ units?: UnitsFormat;
+ /** InteractionDisabled */
+ disabled?: boolean;
+ /** the sigil's colour, the left border shown with a label (TEXT_INPUT_LABEL_BG by default) */
+ sigil_color?: ThemeToken;
+ /** the caption at its left, usually "X", "Y" or "Z" */
+ label_text?: string;
+}
+
+const WHO = "FeathersNumberInput";
+
+/** A feathers number input: its value centred over a slider bar, in its units. Its own Node fields (flex_grow, a
+ * max_width) patch the input's, as a bsn! patch does. @bevy bevy_feathers::controls::FeathersNumberInput */
+export function FeathersNumberInput({ value, soft_limit, hard_limit, precision, step, wrap = "NoWrap", units = Dimensionless, disabled = false, sigil_color = tokens.TEXT_INPUT_LABEL_BG, label_text, ...node }: FeathersNumberInputProps) {
+ const [kind, v] = unpack(WHO, value);
+ if (precision !== undefined && !Number.isInteger(precision)) throw new TypeError(`${WHO}: precision is a whole number of decimal places, got ${JSON.stringify(precision)}`);
+ if (step !== undefined && !(typeof step === "number" && step > 0)) throw new TypeError(`${WHO}: step is above 0, got ${JSON.stringify(step)}`);
+ if (wrap !== "NoWrap" && wrap !== "Wrap") throw new TypeError(`${WHO}: wrap is NoWrap or Wrap, got ${JSON.stringify(wrap)}`);
+ if (!units || typeof units.format !== "function") throw new TypeError(`${WHO}: units is a UnitsFormat (LengthMeters, TimeSeconds, AngleDegrees), got ${JSON.stringify(units)}`);
+ if (label_text !== undefined && typeof label_text !== "string") throw new TypeError(`${WHO}: label_text is a string, got ${JSON.stringify(label_text)}`);
+ // number_input_init shows the value as given; number_input_on_insert_value, which follows, holds it in the HardLimit
+ const held = hard_limit ? clamp(WHO, hard_limit, kind, v) : v;
+ const digits = units.format({ [kind]: held } as NumberInputValue, false);
+ const at = soft_limit ? Math.min(Math.max(thumb_position(WHO, soft_limit, kind, held) * 100, 0), 100) : 0;
+ const bar = useThemeColor(disabled ? tokens.SLIDER_BAR_DISABLED : tokens.SLIDER_BAR);
+ const field = useThemeColor(disabled ? tokens.SLIDER_BG_DISABLED : tokens.SLIDER_BG);
+ const text = useThemeColor(disabled ? tokens.TEXT_INPUT_TEXT_DISABLED : tokens.TEXT_INPUT_TEXT);
+ const sigil = useThemeColor(sigil_color);
+ const background = useThemeColor(tokens.TEXT_INPUT_BG);
+ const labelBg = useThemeColor(tokens.TEXT_INPUT_LABEL_BG);
+ const labelText = useThemeColor(tokens.TEXT_INPUT_TEXT);
+ const labelled = label_text !== undefined;
+ return (
+ <Node height={size.ROW_HEIGHT} display="Flex" justify_content="Center" align_items="Center" flex_grow={1} border_radius={to_border_radius("All", 4)} column_gap={px(0)} border={UiRect.left(px(labelled ? 4 : 0))} border_color={sigil} background_color={background} {...node}>
+ {labelled ? (
+ <Node display="Flex" align_items="Center" align_self="Stretch" justify_content="Center" padding={UiRect.horizontal(px(6))} background_color={labelBg}>
+ <Text font={fonts.REGULAR} font_size={size.COMPACT_FONT} weight={400} color={labelText}>{label_text}</Text>
+ </Node>
+ ) : null}
+ <EditableText
+ flex_grow={1} align_items="Center" align_self="Stretch" border_radius={to_border_radius(labelled ? "Right" : "All", 4)}
+ background_gradient={[LinearGradient.new(Math.PI * 0.5, [ColorStop.new(bar, percent(0)), ColorStop.new(bar, percent(at)), ColorStop.new(field, percent(at)), ColorStop.new(field, percent(100))], "Srgba")]}
+ cursor_width={0.3} justify="Center" linebreak="NoWrap" font={fonts.REGULAR} font_size={size.COMPACT_FONT} weight={400} line_height={{ Px: 24 }} color={text}
+ >
+ {digits}
+ </EditableText>
+ </Node>
+ );
+}
diff --git a/sdk/render/src/bevy3d/feathers/number-value.ts b/sdk/render/src/bevy3d/feathers/number-value.ts
new file mode 100644
index 00000000..55d1d147
--- /dev/null
+++ b/sdk/render/src/bevy3d/feathers/number-value.ts
@@ -0,0 +1,167 @@
+// bevy_feathers' number_input.rs values (docs/control.feature FC0a): NumberInputValue and NumberInputRange in their
+// four number types, and the UnitsFormat a FeathersNumberInput shows its value through. A value prints as Rust's
+// Display does ({} on an f32, f64, i32 or i64): the shortest digits that read back as the same number, never in
+// exponent form, with no ".0" on a whole number ("1", "0.1", "-0", "NaN", "inf"). A StandardUnitKind scales the
+// canonical value into its display unit (an f32 scaled in f64 and cast back, as Bevy does) and appends the unit's
+// first suffix.
+
+/** a number input's value, in one of four types. @bevy bevy_feathers::controls::NumberInputValue */
+export type NumberInputValue = { F32: number } | { F64: number } | { I32: number } | { I64: number };
+/** the number type of a NumberInputValue or NumberInputRange */
+export type NumberKind = "F32" | "F64" | "I32" | "I64";
+
+const INT: Record<"I32" | "I64", [number, number]> = { I32: [-(2 ** 31), 2 ** 31 - 1], I64: [Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER] };
+
+function num(who: string, kind: NumberKind, v: number): number {
+ if (typeof v !== "number") throw new TypeError(`${who}: a ${kind} is a number, got ${JSON.stringify(v)}`);
+ if (kind === "F32") return Math.fround(v);
+ if (kind === "F64") return v;
+ const [lo, hi] = INT[kind];
+ if (!Number.isInteger(v) || v < lo || v > hi) throw new RangeError(`${who}: a ${kind} is a whole number from ${lo} to ${hi}, got ${v}`);
+ return v;
+}
+
+/** NumberInputValue's variants: an F32 is rounded to f32. @bevy bevy_feathers::controls::NumberInputValue */
+export const NumberInputValue = {
+ F32: (v: number): NumberInputValue => ({ F32: num("NumberInputValue::F32", "F32", v) }),
+ F64: (v: number): NumberInputValue => ({ F64: num("NumberInputValue::F64", "F64", v) }),
+ I32: (v: number): NumberInputValue => ({ I32: num("NumberInputValue::I32", "I32", v) }),
+ I64: (v: number): NumberInputValue => ({ I64: num("NumberInputValue::I64", "I64", v) }),
+};
+
+/** an inclusive range of one number type. @bevy bevy_feathers::controls::NumberInputRange */
+export type NumberInputRange = { kind: NumberKind; start: number; end: number };
+
+function range(kind: NumberKind, start: number, end: number): NumberInputRange {
+ const who = `NumberInputRange::${kind}`;
+ return { kind, start: num(who, kind, start), end: num(who, kind, end) };
+}
+
+/** NumberInputRange's variants, start..=end. @bevy bevy_feathers::controls::NumberInputRange */
+export const NumberInputRange = {
+ F32: (start: number, end: number) => range("F32", start, end),
+ F64: (start: number, end: number) => range("F64", start, end),
+ I32: (start: number, end: number) => range("I32", start, end),
+ I64: (start: number, end: number) => range("I64", start, end),
+};
+
+/** a NumberInputValue's type and number, checked */
+export function unpack(who: string, v: NumberInputValue): [NumberKind, number] {
+ const keys = v && typeof v === "object" ? Object.keys(v) : [];
+ const kind = keys[0] as NumberKind;
+ if (keys.length !== 1 || !(kind === "F32" || kind === "F64" || kind === "I32" || kind === "I64")) {
+ throw new TypeError(`${who}: value is a NumberInputValue (NumberInputValue.F32(1)), got ${JSON.stringify(v)}`);
+ }
+ return [kind, num(who, kind, (v as Record<string, number>)[kind])];
+}
+
+function sameKind(who: string, r: NumberInputRange, kind: NumberKind) {
+ if (!r || typeof r !== "object" || r.kind !== kind) throw new TypeError(`${who}: a ${kind} value takes a NumberInputRange.${kind}, got ${JSON.stringify(r)}`);
+}
+
+/** NumberInputRange::clamp: the value held within the range (f32 min/max, as Rust's clamp) */
+export function clamp(who: string, r: NumberInputRange, kind: NumberKind, v: number): number {
+ sameKind(who, r, kind);
+ return Number.isNaN(v) ? v : Math.min(Math.max(v, r.start), r.end);
+}
+
+/** NumberInputRange::thumb_position: where the value sits in the range, 0 to 1 (0.5 on an empty range) */
+export function thumb_position(who: string, r: NumberInputRange, kind: NumberKind, v: number): number {
+ sameKind(who, r, kind);
+ if (!(r.end > r.start)) return 0.5;
+ // an f32 range divides in f32; the others in f64, then cast to f32
+ if (kind === "F32") return Math.fround(Math.fround(v - r.start) / Math.fround(r.end - r.start));
+ return Math.fround((v - r.start) / (r.end - r.start));
+}
+
+/** digits and exponent (d.ddd x 10^e) written out in full, as Rust's Display writes a float */
+function plain(sci: string): string {
+ const [mant, exp] = sci.split("e");
+ const neg = mant.startsWith("-");
+ const digits = mant.replace("-", "").replace(".", "");
+ const e = Number(exp);
+ let out: string;
+ if (e >= 0) {
+ const whole = digits.padEnd(e + 1, "0");
+ const frac = whole.slice(e + 1).replace(/0+$/, "");
+ out = whole.slice(0, e + 1) + (frac ? `.${frac}` : "");
+ } else {
+ out = `0.${"0".repeat(-e - 1)}${digits.replace(/0+$/, "")}`;
+ }
+ return (neg ? "-" : "") + out;
+}
+
+function special(v: number): string | null {
+ if (Number.isNaN(v)) return "NaN";
+ if (v === Infinity) return "inf";
+ if (v === -Infinity) return "-inf";
+ if (Object.is(v, -0)) return "-0";
+ return null;
+}
+
+/** Rust's {} on an f32: the fewest significant digits that read back as the same f32 */
+export function display_f32(v: number): string {
+ const s = special(v);
+ if (s !== null) return s;
+ for (let p = 1; p <= 9; p++) {
+ const sci = v.toExponential(p - 1);
+ if (Math.fround(Number(sci)) === v) return plain(sci);
+ }
+ return plain(v.toExponential(8));
+}
+
+/** Rust's {} on an f64: the shortest digits that read back as the same f64 (JavaScript's own) */
+export function display_f64(v: number): string {
+ return special(v) ?? plain(v.toExponential());
+}
+
+/** NumberInputValue's Display */
+export function display_value(kind: NumberKind, v: number): string {
+ return kind === "F32" ? display_f32(v) : kind === "F64" ? display_f64(v) : String(v);
+}
+
+/** formats a number input's value for display (or for editing). @bevy bevy_feathers::controls::UnitsFormat */
+export interface UnitsFormat {
+ id: string;
+ format(value: NumberInputValue, editing: boolean): string;
+}
+
+/** one unit of a StandardUnitKind: its suffixes (the first canonical) and its size in the base unit.
+ * @bevy bevy_feathers::controls::StandardUnitItem */
+export interface StandardUnitItem {
+ suffixes: string[];
+ scale: number;
+}
+
+/** a flat table of units with scale factors, as a UnitsFormat. @bevy bevy_feathers::controls::StandardUnitKind */
+export function StandardUnitKind(id: string, units: StandardUnitItem[], canonical_index = 0, display_index = canonical_index, editing_index = display_index): UnitsFormat {
+ return {
+ id,
+ format(value, editing) {
+ const [kind, v] = unpack(`units ${id}`, value);
+ const shown = units[editing ? editing_index : display_index];
+ const scale = units[canonical_index].scale / shown.scale;
+ const digits = kind === "F32" ? display_f32(Math.fround(v * scale)) : display_f64(v * scale);
+ return digits + shown.suffixes[0];
+ },
+ };
+}
+
+/** no units: the number alone. @bevy bevy_feathers::controls::Dimensionless */
+export const Dimensionless: UnitsFormat = { id: "none", format: (value) => display_value(...unpack("units none", value)) };
+
+/** lengths, canonical and shown in metres. @bevy bevy_feathers::controls::LengthMeters */
+export const LengthMeters = StandardUnitKind("length_meters", [
+ { suffixes: ["m"], scale: 1 }, { suffixes: ["km"], scale: 1000 }, { suffixes: ["cm"], scale: 0.01 }, { suffixes: ["mm"], scale: 0.001 },
+ { suffixes: ["ft"], scale: 0.3048 }, { suffixes: ["in"], scale: 0.0254 }, { suffixes: ["mi"], scale: 1609.34 },
+]);
+
+/** times, canonical and shown in seconds. @bevy bevy_feathers::controls::TimeSeconds */
+export const TimeSeconds = StandardUnitKind("time_seconds", [
+ { suffixes: ["s"], scale: 1 }, { suffixes: ["ks"], scale: 1000 }, { suffixes: ["cs"], scale: 0.01 }, { suffixes: ["ms"], scale: 0.001 },
+]);
+
+/** angles, canonical in radians, shown in degrees (°, or "d" while editing). @bevy bevy_feathers::controls::AngleDegrees */
+export const AngleDegrees = StandardUnitKind("angle_degrees", [
+ { suffixes: ["rad"], scale: 1 }, { suffixes: ["°"], scale: Math.PI / 180 }, { suffixes: ["d", "deg"], scale: Math.PI / 180 },
+], 0, 1, 2);
diff --git a/sdk/skills/raea/reference/sdk.md b/sdk/skills/raea/reference/sdk.md
index 06ae42c3..84bddb15 100644
--- a/sdk/skills/raea/reference/sdk.md
+++ b/sdk/skills/raea/reference/sdk.md
@@ -43,7 +43,7 @@ with a capital, hooks with `use`. A component's props are in its file.
## `raea/feathers` (sdk/raea/src/feathers.ts)
-`FeathersButton`, `ThemeBackgroundColor`, `ThemeBorderColor`, `ThemeContext`, `ThemeTextColor`, `ThemedText`, `UiTheme`, `VirtualKeyboard`, `caption`, `context_color`, `create_dark_theme`, `fonts`, `label`, `label_dim`, `label_small`, `palette`, `size`, `to_border_radius`, `tokens`, `useThemeColor`
+`AngleDegrees`, `Dimensionless`, `FeathersButton`, `FeathersNumberInput`, `LengthMeters`, `NumberInputRange`, `NumberInputValue`, `StandardUnitKind`, `ThemeBackgroundColor`, `ThemeBorderColor`, `ThemeContext`, `ThemeTextColor`, `ThemedText`, `TimeSeconds`, `UiTheme`, `VirtualKeyboard`, `caption`, `context_color`, `create_dark_theme`, `fonts`, `label`, `label_dim`, `label_small`, `palette`, `size`, `to_border_radius`, `tokens`, `useThemeColor`
## `raea/gizmos` (sdk/raea/src/gizmos.ts)
diff --git a/vendor/blitz-paint/src/kurbo_css/css_box.rs b/vendor/blitz-paint/src/kurbo_css/css_box.rs
index 61dca47e..7a5aedb6 100644
--- a/vendor/blitz-paint/src/kurbo_css/css_box.rs
+++ b/vendor/blitz-paint/src/kurbo_css/css_box.rs
@@ -678,6 +678,15 @@ fn start_angle(bt_width: f64, br_width: f64, radii: Vec2) -> f64 {
radius with 40px/10px border widths), always yielding t in [0, π/2).
*/
+ // raea: a side without width meets this corner (a left-only border on a rounded box): x is b/0 or 0/0, NaN
+ // through the formula, and the path that carries it draws nothing. The formula's limits: the side with the width
+ // takes the whole arc (x -> inf gives pi/2, x -> 0 gives 0); with neither, the corner splits in half.
+ if x.is_nan() {
+ return std::f64::consts::FRAC_PI_4;
+ }
+ if x.is_infinite() {
+ return FRAC_PI_2;
+ }
use std::f64::consts::SQRT_2;
let sqrt_x = x.sqrt();
let s = sqrt_x / (sqrt_x + SQRT_2);
@@ -726,6 +735,15 @@ mod tests {
/// `start_angle` must return the angle `t` at which the border colour split
/// line crosses the corner ellipse, i.e. the solution of
/// `(cos t - 1) / (sin t - 1) == k` where `k = radii.y / (w * radii.x)`.
+ // raea: a side without width at a rounded corner leaves the whole arc to the other side, never NaN
+ #[test]
+ fn zero_width_side_takes_no_arc() {
+ let r = Vec2::new(4.0, 4.0);
+ assert_eq!(start_angle(0.0, 4.0, r), FRAC_PI_2);
+ assert_eq!(start_angle(4.0, 0.0, r), 0.0);
+ assert_eq!(start_angle(0.0, 0.0, r), std::f64::consts::FRAC_PI_4);
+ }
+
fn assert_solves(bt: f64, br: f64, radii: Vec2) {
let t = start_angle(bt, br, radii);
assert!(t.is_finite(), "start_angle returned {t} for {radii:?}");
diff --git a/vendor/vendor.toml b/vendor/vendor.toml
index ac01a0d3..636f43a1 100644
--- a/vendor/vendor.toml
+++ b/vendor/vendor.toml
@@ -56,7 +56,7 @@ exit = "a bevy_ui_widgets release on parley 0.12"
path = "vendor/blitz-paint"
upstream = "crates.io:0.3.0-beta.4"
kind = "patch"
-reason = "angled tile gradients, many-tile gradient layers as one brush, text-shadow, ellipsis, inline-box opacity, box-shadow blur as Chrome's; filters by GPU passes (B4a/B4b); z-index boxes clipped by the overflow between them and their stacking context; a range input's thumb; what an element paints at an offset of its own (background position and tiles, box and text shadows, scroll, inline SVG) placed in its own axes under a rotated ancestor (#18); background-clip: text, its background masked by the text of the element and everything in it (#37)"
+reason = "angled tile gradients, many-tile gradient layers as one brush, text-shadow, ellipsis, inline-box opacity, box-shadow blur as Chrome's; filters by GPU passes (B4a/B4b); z-index boxes clipped by the overflow between them and their stacking context; a range input's thumb; what an element paints at an offset of its own (background position and tiles, box and text shadows, scroll, inline SVG) placed in its own axes under a rotated ancestor (#18); background-clip: text, its background masked by the text of the element and everything in it (#37); a rounded corner where one side has no width (a left-only border on a rounded box), which drew nothing"
exit = "a Blitz release that draws these"
[blitz-dom]