Alle Versionen v0.1.3415 Okt 2026Darstellung, Web-APIs und DOM Feed

Die Versionshinweise sind auf Englisch geschrieben.

Canvas text measured and drawn like the reference browser, and SVG shapes you can measure

Charts drawn on a canvas size their labels with measureText, and Floati answered with a rough guess of half a character's height per letter. It now measures with the same fonts it paints with, so widths match the reference browser to the hundredth of a pixel, and bold and italic canvas text really is bold and italic. SVG gains its geometry: bounding boxes, transform matrices, path lengths, points along a path and hit tests, checked on 1,740 generated cases every build.

equal to the reference browserText widths
16 / 17 + 1 exactChecks vs the reference browser
Highlights2

Canvas charts that fit their labels

VorherNachher
Vorher: a canvas bar chart sized with measureText
Vorher
Nachher: a canvas bar chart sized with measureText
Nachher · v0.1.341
Dieselbe Seite im Referenzbrowser
Referenzbrowser

This is a canvas chart laid out the way Chart.js and most canvas chart kits do it: each value badge is sized to its text with measureText, and the title and badges are bold. Floati guessed text widths and drew bold text in the regular face, so badges came out the wrong size and nothing was bold. It now measures and draws with the real faces, bold and italic included, and matches the reference browser.

a canvas bar chart sized with measureText

Text widthsequal to the reference browserBold, italicreal faces

SVG shapes you can measure

1,740generated geometry cases checked every build

Diagram editors, map widgets and animated line drawings ask SVG where things are: a shape's bounding box, the matrix that places it on screen, how long a path is and where a point along it falls. These now all work, matching the reference browser on 16 of 17 checks. On the 17th Floati is more exact than the reference browser: the reference browser measures circles and arcs with a coarse approximation and reads a circle of radius 10 as 62.43 long instead of 2 pi r, 62.83.

Checks vs the reference browser16 / 17 + 1 exactBroken versions caught2 of 2

Was sich geändert hat

6 Änderungen
  1. DarstellungCanvas measureText measures with the fonts the canvas draws with: widths, the font's ascent and descent, and the ink box of the text match the reference browser to the hundredth of a pixel. It used to guess half a character height per letter, so charts sized and centred their labels around widths up to a fifth off. Measuring learns nothing about your computer: font names resolve through Floati's fixed table, never through the fonts you have installed.
  2. DarstellungCanvas text honours font weight and style: bold and italic labels use the bold and italic faces, both when measured and when drawn. SVG text honours font-weight and font-style too.
  3. DarstellungThe canvas font setting reads the whole CSS font shorthand: sizes in px, pt, em, rem and percent, weight and style keywords, and a line height.
  4. Web-APIs und DOMSVG geometry arrives: getBBox (tight around curves and arcs, and around a group's transformed children), getCTM and getScreenCTM through nested transforms and view boxes, nearestViewportElement, farthestViewportElement and ownerSVGElement, getTotalLength and getPointAtLength, and isPointInFill and isPointInStroke. 16 of 17 checks match the reference browser; on the 17th Floati measures arcs exactly where the reference browser approximates them.
  5. DarstellungProven on every build: 1,740 generated shapes and paths check exact perimeters, that a path written with relative commands measures the same as written absolute, that every point along a path stays inside its box and the path reaches all four sides, and that each matrix is the product of its transforms. Two deliberately broken versions were each caught.
  6. Web-APIs und DOMPages that animate along a path call getPointAtLength on every frame: the outline of each shape is worked out once and reused until its attributes change.

Im eigenen Browser testen

Jeder Test läuft live in dem Browser, mit dem du gerade liest. Es wird nichts gesendet.

PrüfenDein BrowserFloati
Canvas measureText uses the real font (bold is wider than regular)Wird geprüftJa
SVG bounding boxes (getBBox)Wird geprüftJa
SVG path lengths (getTotalLength)Wird geprüftJa
Points along a path (getPointAtLength)Wird geprüftJa
SVG transform matrices (getCTM)Wird geprüftJa
SVG hit testing (isPointInFill)Wird geprüftJa
Bestanden 6 / 6
Alles seit v0.1.341 an einem Ort

Versionen

v0.1.0 - 0.1.9 · 10 Jul 2026418v0.1.427 · 25 Nov 2026

November2026 · 4 Versionen

Oktober2026 · 7 Versionen

September2026 · 10 Versionen

August2026 · 26 Versionen

18218 AugNow it also spots the audio version of that tracking trickv0.1.182 · Datenschutz und Shields 17918 AugLonger videos now play all the way throughv0.1.179 · Medien 17518 AugThe browser you install now plays video, built entirely from its own codev0.1.175 · Medien 17218 AugSplit-motion video decodes: the VP8 inter path is complete, real WebM streams bit-exactv0.1.172 · Medien 17116 AugThe engine decodes real video: VP8 interframes land, bit-exact against libvpxv0.1.171 · Medien 16916 AugDecoded frames reach the screen: drawImage(VideoFrame) paints real video + animated GIF onto a canvasv0.1.169 · Medien 16816 AugThe engine decodes video: WebCodecs VideoDecoder gets real VP8 keyframe teethv0.1.168 · Medien 16715 AugMore real media formats: FLAC-in-Ogg, an ImageDecoder, and an MSE timelinev0.1.167 · Medien 16615 AugWebCodecs and a real FLAC decoder: the engine decodes audio on its ownv0.1.166 · Medien 16115 AugGPU 3D transforms: every container renders on the devicev0.1.161 · Darstellung 16015 AugGPU drop-shadow: the CSS filter set is complete on the devicev0.1.160 · Web-APIs und DOM 13113 AugBrotli, from scratch: the engine now speaks the web's best compressionv0.1.131 · Darstellung 12913 AugVP9 video in fragmented MP4 now actually plays, not just parsesv0.1.129 · Medien 12513 AugfMP4 / MP4 streaming: the engine parses the container the web actually servesv0.1.125 · Medien 1117 AugWeb Audio dynamics compression (DynamicsCompressorNode)v0.1.111 · Medien 1107 AugWeb Audio 3D spatial panning (PannerNode) - synthesis surface completev0.1.110 · Medien 1097 AugWeb Audio convolution reverb + stereo sample playbackv0.1.109 · Medien 1087 AugStereo Web Audio: real panning and per-channel routingv0.1.108 · Medien 1057 AugHTTP/2: the modern web transport, from scratchv0.1.105 · Medien 1027 AugModern JS built-ins, and an honest look at where the whole thing stands: 50v0.1.102 · JavaScript und JIT 976 AugReal captionsv0.1.97 · Darstellung 966 AugStateful audio DSP: filters, delay and waveshapingv0.1.96 · Medien 956 AugReal, deterministic Web Audio (it used to be a silent stub)v0.1.95 · Medien 866 AugReal cryptographic hashing, and twenty more Web APIs that actually do somethingv0.1.86 · Darstellung 815 AugBuilding an object stopped re-allocating its keysv0.1.81 · JavaScript und JIT 661 AugThe worst score on the board turned out to be a cookie bannerv0.1.66 · Darstellung9

Juli2026 · 10 Versionen