WinterCode ❄️
A calm winter atmosphere for VS Code. A living snow globe beside your code, gentle snowfall you can tune, and three handcrafted winter color themes. Built for long, quiet coding sessions, and light enough to leave on all season.

Features
❄ Snow Globe
A small, always-there snow scene at the bottom of the Explorer. Snow falls in layers: distant flakes are small and slow, close ones are larger, brighter and sometimes crystal-shaped. Wind gusts come and go, flakes sway and spin, and a thin layer of snow slowly settles along the bottom.
Drag the Snow Globe into the bottom panel or the secondary side bar if you'd rather keep it there.
🪟 Snow Window
Run WinterCode: Open Snow Window to open a full-size scene in an editor tab. Split it beside your code for a window-onto-the-snow feel. It comes back after a reload.
🌨 Four intensities and Snowstorm Mode
Light, Normal, Heavy and Blizzard, with smooth fades whenever you switch. WinterCode: Snowstorm Mode whips up a short, wind-driven storm, then lets it die down gradually.
🎨 Three winter themes
| Midnight Snow |
Arctic Aurora |
Cozy Winter |
 |
 |
 |
| Deep navy, icy blue accents, soft white highlights. |
Deep blue and violet with aurora greens and cyan. |
Warm browns, muted tones, cream highlights. A cabin with a lit window in the snow scene. |
Every theme styles the whole workbench (editor, side bar, tabs, terminal ANSI colors, diff, git decorations, widgets) and supports semantic highlighting. Syntax colors are tuned for TypeScript, JavaScript, Python, JSON, HTML, CSS/SCSS, Markdown, YAML, shell and more. Every syntax color meets WCAG AA contrast (4.5:1) against the editor background. Comments and punctuation are quieter by design but stay above 3.6:1. Automated tests check this.
The snow scene follows your theme: each winter theme has its own sky, mountains and aurora colors.
Commands
Open the Command Palette (⇧⌘P / Ctrl+Shift+P) and type WinterCode:
| Command |
What it does |
| WinterCode: Enable Snowfall |
Turns snow on and shows the Snow Globe if no snow is visible. |
| WinterCode: Disable Snowfall |
Turns snow off. The animation loop stops completely. |
| WinterCode: Toggle Snowfall |
Also bound to the ❄ in the status bar. |
| WinterCode: Change Snowfall Intensity |
Pick an intensity. Browse with the arrow keys to preview it live. |
| WinterCode: Change Winter Theme |
Pick a theme. Browse to preview, Esc puts your old theme back. |
| WinterCode: Snowstorm Mode |
A temporary blizzard with strong gusts. |
| WinterCode: Open Snow Window |
A full-size snow scene in an editor tab. |
| WinterCode: Show Snow Globe |
Reveals the Snow Globe view. |
| WinterCode: Open Settings |
Opens WinterCode's settings. |
Settings
| Setting |
Default |
Description |
wintercode.snowfall.enabled |
true |
Show falling snow. |
wintercode.snowfall.intensity |
normal |
light, normal, heavy or blizzard. |
wintercode.snowfall.flakeSize |
1 |
Size multiplier, 0.5 – 2. |
wintercode.snowfall.speed |
1 |
Fall speed multiplier, 0.25 – 3. |
wintercode.snowfall.wind |
0.15 |
-1 (left) to 1 (right). Natural gusts are added on top. |
wintercode.snowfall.opacity |
0.85 |
Flake opacity, 0.1 – 1. |
wintercode.performance.quality |
auto |
auto, high, balanced or low. See Performance. |
wintercode.performance.respectReducedMotion |
true |
Show a still snow scene when reduced motion is requested. |
wintercode.theme |
midnight-snow |
Preferred winter theme. Changing it applies the theme. |
wintercode.snowstorm.durationSeconds |
20 |
Length of Snowstorm Mode, 5 – 300. |
wintercode.effects.accumulation |
true |
Let snow settle along the bottom edge. |
wintercode.effects.scenery |
true |
Night sky, moon and mountains behind the snow. |
wintercode.effects.aurora |
true |
A soft, slowly shifting aurora. |
wintercode.effects.glow |
true |
Soft glow around nearby flakes. |
wintercode.effects.statusBar |
true |
Show the ❄ toggle in the status bar. |
WinterCode should never be the reason your editor feels slow.
Nothing runs per frame in the extension host. The animation runs entirely inside the webview's own renderer process. The extension only sends a message when a setting changes.
No hidden work. Webviews are not kept alive when hidden, so a collapsed Snow Globe or a background Snow Window tab has no page running at all. While snow is off, or in reduced-motion mode, no animation frames are scheduled.
Cheap frames. Flakes are drawn from small pre-rendered images, pixel density is capped, and the aurora is animated with transform and opacity only. In testing, a full-size Snow Window on Blizzard at High quality took about 1 ms of script time per frame.
Quality tiers.
| Quality |
Frame cap |
Max flakes |
Extras |
| High |
60 FPS |
900 |
Crystal flakes, glow, 2× pixel density |
| Balanced |
40 FPS |
450 |
Crystal flakes, glow, 1.5× pixel density |
| Low (low-power) |
24 FPS |
140 |
Round flakes only, no glow, still aurora |
| Auto (default) |
Starts on Balanced and switches to Low by itself if frames get expensive on your machine. |
|
|
Reduced motion. If workbench.reduceMotion is on, or it's auto and your OS asks for reduced motion, WinterCode shows a still snow scene instead of animation.
How it works, and what it deliberately doesn't do
VS Code's extension API has no supported way to draw over the code editor itself. Extensions that put snow "on top of your code" do it by patching VS Code's installation files or injecting CSS. That makes VS Code report a corrupted install, breaks on updates, and can interfere with typing and selection.
WinterCode uses only supported APIs:
| Surface |
API |
| Snow Globe |
WebviewView in the Explorer (movable anywhere) |
| Snow Window |
WebviewPanel in an editor tab |
| Themes |
contributes.themes |
| ❄ toggle |
Status bar item |
So snow falls next to your code, never over it. It can't get in the way of typing, scrolling or selecting, and nothing breaks when VS Code updates.
Each webview runs under a strict Content Security Policy: no remote content, no inline scripts, and only the bundled script, allowed by a per-load nonce.
Installation
From the Marketplace: search for WinterCode in the Extensions view and click Install.
From a VSIX file:
code --install-extension wintercode-1.0.0.vsix
or use Extensions view → ⋯ → Install from VSIX…
After installing, open Help → Welcome → Get cozy with WinterCode for a one-minute tour, or run WinterCode: Change Winter Theme.
Requires VS Code 1.90 or newer.
Development
npm install
npm run bundle # dist/extension.js + dist/webview.js
npm test # unit tests (engine, config, themes, manifest, CSP)
npm run test:integration # launches VS Code with the extension and runs command tests
npm run generate:themes # rebuild themes/*.json from src/themes/palettes.ts
npm run package # produce wintercode-<version>.vsix
Press F5 in VS Code to launch an Extension Development Host.
npm run test:integration downloads a copy of VS Code by default. To use your installed copy instead, set VSCODE_EXECUTABLE, for example "/Applications/Visual Studio Code.app/Contents/MacOS/Code". Tests run in a throwaway profile and never touch your settings.
| Folder |
Contents |
src/snowfall/ |
DOM-free snow simulation (engine, presets, seeded RNG) |
src/webview/ |
Canvas renderer, animation loop, message protocol |
src/providers/ |
Snow Globe view, Snow Window panel, status bar, config hub |
src/commands/ |
Command registration |
src/configuration/ |
Settings schema, validation and reading |
src/themes/ |
Palettes and the theme generator |
tests/unit/ |
node:test unit tests |
tests/integration/ |
Tests that run inside VS Code |
Notes
The theme previews above were rendered from the shipped theme files with Shiki, which uses the same TextMate grammars as VS Code. The snow scenes are screenshots of the real webview bundle. Exact syntax colors in VS Code can differ slightly where language extensions add semantic tokens.
License
MIT