One-page site: everything is in index.html (HTML, CSS, JS, favicon and avatar
images embedded as base64) plus the self-hosted fonts in fonts/. No build step,
no dependencies. attribution.html, privacy.html and crates.html are separate
standalone pages that share the same fonts (cached across pages) and theme.
- Create a public repo named
antonelse.github.io(gives you the root domainhttps://antonelse.github.io/; any other name works, just lives at.../<repo-name>/instead). - Push these files to the repo root:
index.html,og-image.png,robots.txt,sitemap.xml,attribution.html,privacy.html,crates.html, thefonts/folder (the pages won't render the right fonts without it) andantonio_giganti_cv_2026.pdf(the CV download button in the About section links to it). - Settings → Pages → Source: Deploy from a branch,
main,/ (root). - Live in a minute or two, at the URL GitHub shows you.
- Add a
CNAMEfile in the repo root containing justyourdomain.com. - DNS at your registrar: apex domain → four
Arecords to185.199.108.153/.109.153/.110.153/.111.153;www→CNAMErecord toantonelse.github.io. - Settings → Pages: enter the custom domain, enable Enforce HTTPS once available.
- If you switch domains, update
robots.txt,sitemap.xml, and theog:url/canonical/og:imagetags inindex.html.
Everything (WORK, EDUCATION, PROJECTS, PUBLICATIONS, AWARDS, INFLUENCES)
lives in the SITE_DATA object near the top of the <script> block —
search for SITE_DATA. Each section is a plain array of objects; the page
builds tables/cards from them automatically. No HTML to write or copy.
- Add/edit/remove an entry → add/edit/remove its object in the array.
- Reorder → reorder the objects (STEP numbers 00, 01, 02… are automatic).
WORKand everyPROJECTS.*array exceptAUDIOare ordered newest-first — keep new entries in that order (ties broken by whichever ended later). Thecodefield (e.g.SMPL_01,VID_01) runs the other way: number 01 is the oldest item, counting up to the newest — so adding a new entry at the top means bumping every existing code in that array by one and giving the new entry the highest number. Cosmetic, not derived automatically. PROJECTS.AUDIOis the exception: oldest first, with the codes counting up in display order. First the Bandcamp albums (with theirbandcampplayer ids) in release order, the "Discography" link card closing that group, then the other audio projects, again oldest first. A new album goes after the last album (before "Discography"), and every code after it moves up by one.
| Section | Fields |
|---|---|
WORK, EDUCATION, AWARDS |
role, org, period, desc |
PUBLICATIONS |
role, url, org, period, desc — role links when url is set |
PROJECTS.*, INFLUENCES.* |
code, meta, title, desc, tags, bandcamp, linkText, linkUrl |
tags: optional, omit (or[]) for no chips.bandcamp: optional array of Bandcamp album ids (the number in the embed code,album=…). Each id adds an embedded player to the card: the 120px player with artwork for a single album, a slim 42px bar per album when there are several (e.g. the Spectral Environment series). Hidden in the phone-only LIST view.desc: escape"as\"(it's a JS string, not raw HTML).AWARDS.period: year only (no month) for consistency with other sections.
CONTACTS is the one exception — it's not in SITE_DATA. It is a boxed .contact block near the end of the <body>, containing a single .contact-line with the email. Edit that line directly.
A separate standalone page (same pattern as attribution.html /
privacy.html) for running, open-ended lists — things that get added to
over time rather than a dated post. Linked from the DIGGING card in INFLUENCES (SITE_DATA.INFLUENCES.DIGGING,
one entry, linkUrl: "crates.html" — edit like any other INFLUENCES entry).
The page itself is not SITE_DATA-driven: each entry is a plain
<li class="crate-item"> written directly in the <ul class="crate-list">
markup, grouped under a <details class="crate"> per topic. To add a new
topic, copy a <details> block, give it a unique id, and add a matching
jump link in <nav class="crate-nav">; to add an entry, copy an
<li class="crate-item"> inside the relevant list.
- PROJECTS → SOFTWARE → Analog Shutterino, and VIDEO → METRO / Ozne
Production:
linkUrl: "#", no public link yet — update inSITE_DATA.
- Theme: dark or light. The starting theme is the one saved by the theme
button (
localStorage.theme), else the OS preference (prefers-color-scheme); a tiny inline script at the top of<body>applies it before first paint (no flash) and the button/<meta name="theme-color">follow. The secondary pages (attribution, privacy, crates) have the same light variables and follow the saved choice, without a button of their own. Nothing else is stored. - No JavaScript: the sections are rendered from
SITE_DATAby script (and the name in the header is typed in by script), so a<noscript>block under the topbar gives the name, contact, CV and the main links, and a<noscript>style in<head>shows the name in the header. - "Coming soon" cards: an entry with
linkUrl: "#"shows itslinkTextas plain text (not a link, no pointer cursor, no hover highlight). - Navmenu: all sections start collapsed; the active link tracks a fixed
reference line near the top of the viewport as you scroll (not a plain
visibility check, so it stays correct even when sections have very
different heights). Each link has a small inline pixel icon before its
label (
.nav-ico, plain SVG, samecurrentColor/crisp-edges style as the favicon bitmaps). The menu is a dropdown opened from the MENU chip in the topbar; its links use the short labels EDU/PROJ/PUBS/AWRD/INFL/CNTCT, while the section headers stay full-length. - Page width: the column (
.screen) isclamp(980px, 82vw, 1320px)— about 1050px at a 1280 window, 1180 at 1440, and 1320 from ~1610px up — so big screens use more of their width without the lines getting too long. Below 980 it's the full window. The card grids stay at 3 columns on wide screens (every group has 3, 6 or 9 cards, so a 4th column would leave orphans). - Section headers (
.phrase-head) are text + a rule, not filled bars, so the topbar is the only bright strip on the page: a collapsed section has a thin dim rule and a dim ▶; an open one a bright double rule (abox-shadow, so toggling doesn't shift the layout) and a bright ▼; hover brightens both. The sub-sections inside (SOFTWARE, AUDIO…) stay small and dim, which keeps them below the headers. On phones the headers are ~41px tall. - INFLUENCES layout: the five sub-sections (CODING, VISUALIZING, LISTENING,
WISHING, DIGGING) sit in a CSS-columns container (
.inf-groups: 3 columns on desktop, 2 on tablets, 1 on phones). Each.inf-groupstays whole and the browser balances the columns, so adding or removing a card rebalances them by itself; to add a sub-section, copy an.inf-groupblock (head +.samplescontainer) and add itsrenderSampleCardscall. - ⌃⌄ ALL (topbar chip, next to MENU): lit, with the glyph flipped to "collapse", while every section is open; unlit with the "expand" glyph otherwise. A click opens everything (or closes everything if it's all already open). Its state is read from the sections themselves, so it also follows header clicks and menu jumps. Click a section header to toggle just that one. MENU is an outlined chip that fills while the dropdown is open; the other chips are filled when on (CRT, and theme when light).
- Topbar has two groups: MENU/ALL on the left, theme/CRT/REC on the right. It
never rearranges or wraps: everything in it is fluid (font, letter-spacing, gaps
and padding scale with the window, see "Fluid type" below) and, when the bar's
own width runs out, the least important parts give way in place, driven by
@container tbrules on.topbar-controls(thresholds in the CSS next to thepointer:coarseblock, measured to keep ≥25px free between the two groups): REC loses its word (≈460px window), then disappears (≈380px), then the theme and CRT chips become icon-only (≈340px and ≈300px). Down to 280px it stays on one row;flex-wrapis only a last-resort fallback. The labels that can collapse are.rec-wordand.lblinside#themeBtn/#crtBtn(the theme script updates.icoand.lblseparately). - Fluid type: font sizes, letter-spacing and the topbar's gaps/padding are CSS
variables defined once in
:root(--fs-title,--fs-topbar,--fs-card-title…) asclamp(phone, a + b·vw, desktop): they move linearly between the phone value (at 400px, 340px for the title) and the desktop value (from 900px up), so nothing jumps at a breakpoint (before, ~everything changed in a single pixel at 640px). To change a size, edit the variable's two endpoints — the middle follows. Breakpoints remain only for layout (columns, tracker reflow under 480px, the phone-only LIST toggle). - Lissajous (
LJ): drag the mouse over the canvas to change the a:b ratio (1–8 on each axis); phase drifts slowly on its own for extra shape variety. The default is x 6.70 / y 6.80 (DEFAULT_A/DEFAULT_Bin its script, plus the two starting numbers in the formula markup); it eases back to it when the pointer leaves the canvas or the touch ends. - After ~60s idle, an ASCII tunnel screensaver kicks in; any input dismisses it.
- Generative background: a
<canvas id="bgCA">fixed behind the page runs a Brian's Brain cellular automaton (off → on with exactly 2 firing neighbours; on → dying → off) — 6px cells, ~8 fps, in the theme's--lcdcolour, at 13% opacity (#bgCA { opacity }in the CSS, with a separatebody.theme-light #bgCArule if the light theme needs a different value; the cell size, FPS and density are constants at the top of the script). Clicking the empty side margins drops a few live cells. It deliberately ignores the OS "Reduce motion" setting (very faint decoration, and the rest of the page animates regardless); to honour it, skip therequestAnimationFrameloop whenmatchMedia('(prefers-reduced-motion: reduce)').matches..screenisposition:relative; z-index:1so the page stacks above the canvas. Code: the "Generative background" block at the end of the last<script>. - "Screen" blocks: the name header, the STACK / YRS_EXP / STATUS bar, the
Lissajous box and the contacts box are drawn with
--bg-screen— pure black in the dark theme (a notch blacker than the#0a0a0apage, so they read as opaque display windows against the translucent grey cards) and pure white in the light theme. They're opaque, so the background automaton doesn't show through them. Change the variable in:root/body.theme-lightto re-tone all four at once. - Translucent cards: the PROJECTS and INFLUENCES cards (
.sample, and the MIXES.bc-framecards) are drawn at--card-alphaopacity — 60% in both themes (one variable per theme, so they can differ: it was 45% in the dark one before) — so the automaton shows through faintly. It costs nothing (nobackdrop-filter); to make the cards more or less see-through, change the variable in:root/body.theme-light. Inside an Influences column the cards stack (.inf-group .samples { 1fr }), otherwise the wide-screen "3 columns" rule for.sampleswould squeeze three cards into each ~300px column. - Lazy player embeds: every iframe in PROJECTS (the three MIXES players and
the Bandcamp player of each release) uses
data-srcinstead ofsrcand is loaded only when it comes within ~400px of the viewport (IntersectionObserver). Each one is a full third-party page (~20–55 MB of RAM: ≈53 MB for the first Bandcamp player, ≈18 MB per extra one), and the section starts collapsed, so embeds in collapsed sections or in the phone-only LIST view never load. To add another embed there, give itdata-srctoo. Script: the "Lazy player embeds" block at the end of the last<script>. - GRID / LIST toggle: only in PROJECTS and only on phones (≤640px), where it roughly halves the section's length (≈5600px → ≈3050px at 375px wide); on larger screens it's hidden and the grid is always used (growing past 640px while in LIST switches back to the grid). INFLUENCES has no toggle — its column layout is already shorter than the list.
- Player cards: the three MIXES players sit in an auto-fit grid (3 columns
on desktop, 2 on tablets with SoundCloud spanning the second row, 1 on
phones) with equal-height cards and the link pinned to the bottom
(
.bc-link). Release cards get their Bandcamp player from thebandcampfield (see above); the old standalone Bandcamp card is now a plain "Discography" card at the start of AUDIO. A click on or around a player never opens the card's link. MIXES embed heights live in each iframe's inline style (hearthis 170, Mixcloud 130 withhide_artwork=1so the title isn't clipped, SoundCloud 240); on phones they are forced to 165px. The SoundCloud widget has no dark theme, so in the dark theme it is inverted with a CSS filter (.bc-soundcloud) and asked for a black accent (color=%23000000, which the inversion turns white); in the light theme it is left as is. - Cursor (same logic in the three secondary pages): the pixel arrow replaces the system pointer only while it is
tracking the mouse (
html.cursor-on); otherwise — before the first move, after leaving/blurring the window — the system pointer stays visible. Embedded players are cross-origin iframes that swallow all mouse events (the page doesn't even getmouseover), so cards that hold a player (.has-embed,.bc-frame) and a 48px halo around them use the system pointer too. - Touch devices (
@media (pointer:coarse), not window width): touch targets are ≥33px (topbar chips, MENU, section headers ~41px, view toggles, card links). It follows the input device on purpose, so a narrow desktop window keeps the compact desktop sizes. Text never goes below 10px (running text 11–13px, fluid). Below 480px the four-column tracker tables (EXPERIENCE, EDUCATION, PUBLICATIONS, AWARDS) reflow into stacked rows (step | role + org | period, description underneath) because their min-content width (~375px) would otherwise be clipped by.phrase-body { overflow:hidden }.text-size-adjustis 100% so iOS/Android don't inflate text on rotation, and the ASCII screensaver tunnel and the Save & Exit logo scale with the window (font-size:min(Npx, Mvw)). - Top bar REC ■ is purely decorative (no actual recording). The site has no audio of its own any more (the old PLAY/MUTE/BPM/level-meter tracker controls, hover synth blips and arrow-key row cursor were removed); sound only comes from the embedded players, which are third-party iframes.
- Footer "SAVE & EXIT" is an easter egg (ASCII logo + typed message). Next to it, Attribution, Privacy and CV link to their standalone files/pages.
- Title ("ANTONIO GIGANTI") is
contenteditableand self-heals: edit or clear it, wait 1.8s after you stop, it retypes the real name (rebuilds stripped<span>s if needed). Native caret is hidden here (iOS renders it oversized with the custom pixel font) — the blinking block next to the text is the real cursor indicator.
| File | Purpose |
|---|---|
index.html |
Entire site — HTML, CSS, JS, favicon, avatar images (fonts are in fonts/) |
fonts/ |
Self-hosted fonts (JetBrains Mono 400 + 600 as woff2, Elektron Pixel as ttf) shared by all four pages, plus a README with sources and licenses |
attribution.html |
Credits page — fonts owed (license requirement) + inspiration links |
privacy.html |
Privacy policy — plain description of what the site does/doesn't collect |
crates.html |
Running, open-ended lists (not SITE_DATA-driven, see "Crates page" above) |
og-image.png |
Social preview image (LinkedIn, Twitter, Slack, etc.) |
robots.txt |
Search engine indexing permissions |
sitemap.xml |
Search engine discovery — update URL if using a custom domain |
- Elektron Pixel Font (display font,
fonts/elektron-pixel.ttf) — © 2008 savingaurora, CC BY-SA 3.0, via FontStruct. Unofficial fan recreation, not affiliated with Elektron (the company). Attribution required by the license — kept both here and on the liveattribution.htmlpage; keep this note if you redistribute the site. - JetBrains Mono (body font,
fonts/jetbrains-mono-400.woff2and-600) — SIL OFL 1.1, no attribution required. Self-hosted on the same origin (not loaded from Google Fonts) so no visitor data is sent to Google on page load. Only the weights the site actually uses are shipped (the 500 weight and the italic were embedded before but never rendered). - No repo-wide LICENSE file: this is a personal portfolio with personal bio, photos and CV content, not open-source software — all rights reserved.