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.
Code Commits Issues Pull requests Wiki Builds Discussions Projects Insights Search Commits on main An HTML page's files load on Windows (fixes #40, fixes #41, fixes #42). The HTML runtime was handed the page's folder as Windows wrote it: canonicalized to a verbatim \\?\D:\ path (#40), or as D:/..., which a URL reads as scheme d (#41). The cached Google Fonts face came back from html.read as C:\... (#42). Its backslashes became CSS escapes in url(), and the drive a URL scheme in src. Now the folder is canonicalized without the verbatim prefix (raea_io_home::plain), and the runtime gets every path in URL form: raea_io_home::url_path, /D:/work/page on Windows, which the page's file:/// base joins into file:///D:/work/page. That covers the page folder, the font folder and html.read's answers. What the runtime names back (html.read's urls, a video's file, a sound's src) is read through from_url_path. Nothing changes on Unix, where both are the path itself. io/home's test checks the forms on any system, and joins them to file:/// as Blitz does: the result is a file URL, not scheme d shinyobjectz committed 21 days ago
d45b38e Copy SHA FC0a: ui/text/font_atlas_debug passes (0.99966): bevy_text's glyph atlas in raea's TSX. raea/ui's FontAtlasSet.atlases(font, font_size, text) is the pages a Text of that text fills, made natively by bevy_text's own code (the fonts.atlases call, raea-sys-fonts atlas.rs: the text shaped in the face as bevy_text shapes it, each glyph its layout meets rasterized by swash and packed by add_glyph_to_atlas, 2 px padding, 512 px pages), each a PNG data: URL an ImageNode shows. The port grows the yellow FiraSans-Bold text every third frame from the example's ChaCha8Rng (rand's random::<u8>() as char: "a6Ò" and a control character by frame 10, drawn as .notdef in both) and shows the page beside it a frame after it's made: the atlas's packing, Ò's base and accent as two glyphs, matches Bevy's. The bar fails 7 of the 10 mutants; of the 3 it passes, the off-pixel probe catches the atlas size (1552 against 680) and its top (1353), and a probe of the text's fully yellow pixels its colour (0 against 1680); the tenth (dropping the repeat check) draws the same three characters by frame 10. runtime/calls tests/fonts.rs (atlases: one page, a glyph met twice packed once). shinyobjectz committed 21 days ago
a800f3c Copy SHA FC0a: ui/text/system_fonts passes (0.98794): the system's font families in raea's TSX, as Bevy's FontCx lists them. raea/ui's FontCx.family_names() is the native call fonts.families (runtime/calls: a fontique collection of the system's faces alone, sorted, each once; Bevy lists 516 on this Mac, the hidden "." families among them). Gaps found and patched on the way: - a face parley can't scale (Apple's bitmap-only GB18030 Bitmap has no head table, so its advances are infinite) blacked the whole page: every box after it was NaN. blitz now measures a bevy_ui Text whose lines are no finite size as 0 by 0, as bevy_text's buffer_dimensions does. - a FontSource::Family face missing a character fell to CSS's serif (Times), then to CoreText's pick for the face, where bevy_text falls to the collection's fallback families (Helvetica for Latin). The SDK now writes such a family as `"Name", "raea-bevy fallback"`: blitz appends no serif to it and parley asks no FallbackHook for it (NO_HOOK_FAMILY). The bar passes every mutant but two (the count off by one, the rows' blue 0.25 to 0.22); a probe of the count line (473 px off against 556) and of a row's background (srgb 51 51 64 against 56) catches both. All 72 ui ports pass. Open: lines mixing a face with its fallback sit about 0.4 px lower than Bevy's, and their stems are softer (Bevy's atlas is sampled nearest; snapping glyphs to whole pixels didn't bring it closer). shinyobjectz committed 21 days ago
bdf9e53 Copy SHA FC0a: ui/widgets/feathers_gallery ports at 0.99561, with the rest of bevy_feathers: panes, sub-panes and groups; menus, selects, list views and tool buttons; checkboxes, radios, toggle switches, disclosure toggles and the slider; the text input, colour swatch, colour slider, colour plane and colour input; and its icons shinyobjectz committed 21 days ago
9fe4c0c Copy SHA 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 shinyobjectz committed 21 days ago
601296e Copy SHA FC0a: ui/widgets/feathers_counter ports at 0.99994, with feathers' display: caption (a ThemedText), label, label_dim and label_small (Fira Sans in the theme's text colour, which no propagation overrides), and ThemeBackgroundColor, ThemeBorderColor and ThemeTextColor, which colour the one element inside from the UiTheme. A button's caption takes Fira Sans 14 px; the count, a caption outside any widget, keeps Bevy's default font, as in Bevy. A pane background fails the bar; a plain Text caption (298 pixels off, not 15) and no margin (237) pass it and are caught. 97 of 101 ported examples pass shinyobjectz committed 21 days ago
b269cbc Copy SHA FC0a: ui/widgets/virtual_keyboard ports at 0.99371, on raea/feathers (bevy_feathers) and EditableText. raea/feathers carries feathers' dark theme (its palette, semantic colours, surface-level overrides and 150 token assignments, generated from dark_theme.rs and tokens.rs; with no UiTheme every token is FUCHSIA, as Bevy's empty ThemeProps), FeathersButton, VirtualKeyboard and ThemedText: a widget's font and text colour reach only a ThemedText, as feathers' Propagate is filtered With<ThemedText>, so the keyboard's plain Text keys keep Bevy's default font, as Bevy draws them. Feathers' own Fira Sans (four faces) and Fira Mono Medium are bundled whole in core/fonts, and its fonts name them by family. EditableText measures as TextInputMeasure (visible_lines of line height, rounded up; visible_width in ch, the advance of 0) and draws parley's caret, cursor_width of the font size wide, for the first half of each blink period while it has focus. Oklcha gains lighter, darker and with_alpha. 94 of 98 ported examples pass shinyobjectz committed 21 days ago
c4e528f Copy SHA