Skip to content
FR

Display

How this site is built

This site is a project like any other, and most of its work is out of sight. Here is what happens under the surface, with the measured figures.

Read the code on GitHub (new tab)

The foundations

A fully static site, built with Astro and Tailwind CSS and served by GitHub Pages: no server, no database. Every page exists in French and in English.

JavaScript is limited to the router that moves between pages without a reload and a handful of behaviors. Without it, all the content stays readable and every link works.

A background made of glyphs

The background is a photo of crumpled metal, rebuilt out of characters. Each 4-pixel cell becomes a glyph from the ramp “ ·:+×xX#”, from lightest to densest, and a 4 × 4 Bayer dither renders the shades in between. It is all drawn on a canvas, in IBM Plex Mono.

The same engine renders the project covers, animated on hover, the skill logos, and a fragment of the texture hidden in every button.

To stay light, it reads a copy of the photo scaled down to 480 pixels wide: one pixel per cell is enough. A single loop runs, at 12 frames per second; it only repaints the cells that change and stops off screen. The animation can be turned off in the settings, and turns itself off if your system asks for less motion.

The theme change

The theme button does not just fade: the new theme is revealed from top to bottom, then from bottom to top on the next change, behind a front of glyphs with a ragged edge, in one second.

It is a browser View Transition. Its mask is an SVG image drawn once, then slid by a native animation; the front's canvas only paints the lines it crosses. While it runs, the background texture repaints in the new colors in 3-millisecond slices, visible lines first, so that it is ready before the front reaches it.

The light theme adds no classes: it gives each shade of gray a light value, and the background becomes cream paper. Every component keeps its hierarchy in both themes.

The performance work

Every fix was measured on the built site, before and after.

The measured gains, before and after each fix
ItemBeforeAfter
Background photo5.2 MB lossless, 319 ms to download417 KB as WebP, with no visible difference on screen
Copy read by the texture427 KB51 KB
Background arrival, on slow 4G377 ms, after the stylesheetFrom the HTML, alongside the stylesheet
Chrome shine on headings~9% of the CPU per heading, even off screenPaused as soon as it leaves the screen

Smaller gains add up too: the tab icons are no longer downloaded again on every page, and the texture only prepares distant surfaces when the browser is idle.

A budget to make it last

These gains only matter if they hold. After every build, continuous integration measures the site, and blocks the release if any item goes over its cap.

The performance budget, measured in November 2026
ItemTodayCap
JavaScript, whole site59 KB (26.2 KB compressed)70 KB (30 KB compressed)
Stylesheet, compressed13.9 KB17 KB
Heaviest page, compressed27.8 KB34 KB
Largest image417 KB500 KB
Heaviest link preview card77 KB100 KB
Playable demos, all files1061 KB1250 KB
Résumé PDF, the larger one261 KB300 KB

Checked before every release

Every rule in the scripts is written separately, in plain TypeScript, and tested; every behavior is also checked in a real browser. These tests run on every change, along with a dependency audit: if one fails, the live site stays on the previous version.

The site has also been audited against the RGAA, the French accessibility framework: see the accessibility statement.