π€ Written by Claude
We added a set of DNA/genomics-themed loading animations that play while an analysis node grid loads (replacing the lone double-helix). They're user-selectable in User Settings β Grid Loading Animations, shown at random.
Public preview page (no login): /loading_animations β handy for tinkering and as a front-page/docs easter egg.
Already built: double-helix (classic, also the fallback), Read Pulse, Base FX (Matrix / Ripple / Wave), Flowcell, Read Pileup.
This issue tracks further ideas. None are started.
New animation ideas
- Sanger trace / electropherogram β the classic 4-colour chromatogram: smooth coloured peaks (A/C/G/T) scrolling, base calls underneath. Analog peaks rather than discrete flashes.
- Coverage track building β a depth histogram filling leftβright as reads land, the skyline rising into a coverage profile with a sweep line.
- Replication fork (helix unzip) β the double strand unzips down the middle and complementary bases fill in on each side (AβT, CβG with connecting rungs). A more "alive" upgrade to the spinning helix.
- Translation / ribosome β base triplets slide through a reading head; each codon emits an amino-acid bead/3-letter code onto a growing peptide chain.
- Gel electrophoresis β fragment bands start in wells and migrate down lanes at size-dependent speeds; a loading bar that's literally a gel running.
- Lollipop sweep β a transcript bar with domains; mutation "lollipops" pop up along it one by one.
- Manhattan plot rain β points scatter upward across chromosome-coloured bands, a few crossing a significance line and flaring.
- Codon colourise (quick) β reuse the frozen GATC field but tint every third base (reading frame) and shift the frame.
- Methylation toggle (quick) β sparse CpG sites blink between methylated/unmethylated states.
- Contig assembly (quick) β fragments slide together and fuse into one long sequence, overlaps briefly highlighted.
Refinements to existing animations
- Clear-on-white palette β the analysis overlay renders dark-theme glyphs on a clear/white background, but the dark palette's lit colour is lighter than its resting colour, so the ripple highlight reads as a gentle lightening rather than a bright pulse. A palette tuned specifically for white backgrounds would make ripple (and others) pop.
- Per-animation tuning of speeds/density once seen in real grid loads.
Implementation notes
Loaders live in variantgrid/static_files/default_static/js/lib/loaders/ and self-register via VGLoaders.register(id, {label, start(container, opts) β stop()}). They support opts.theme (dark/light) and opts.clearBackground. To add one to the official set: drop the *.loader.js, include it in analysis/templates/analysis/analysis_includes.html, and add it to GridLoadingAnimation + the LOADER_IDS map in analysis.js (and to DEFAULT_GRID_LOADING_ANIMATIONS if on by default).
π€ Written by Claude
We added a set of DNA/genomics-themed loading animations that play while an analysis node grid loads (replacing the lone double-helix). They're user-selectable in User Settings β Grid Loading Animations, shown at random.
Public preview page (no login):
/loading_animationsβ handy for tinkering and as a front-page/docs easter egg.Already built: double-helix (classic, also the fallback), Read Pulse, Base FX (Matrix / Ripple / Wave), Flowcell, Read Pileup.
This issue tracks further ideas. None are started.
New animation ideas
Refinements to existing animations
Implementation notes
Loaders live in
variantgrid/static_files/default_static/js/lib/loaders/and self-register viaVGLoaders.register(id, {label, start(container, opts) β stop()}). They supportopts.theme(dark/light) andopts.clearBackground. To add one to the official set: drop the*.loader.js, include it inanalysis/templates/analysis/analysis_includes.html, and add it toGridLoadingAnimation+ theLOADER_IDSmap inanalysis.js(and toDEFAULT_GRID_LOADING_ANIMATIONSif on by default).