Chris TDL Snowfall

Description

Chris TDL Snowfall brings a smooth, elegant, and high-performance snow animation to your WordPress website. Designed using the vanilla HTML5 Canvas 2D API, it delivers seamless 60 FPS rendering without taxing CPU or GPU resources and without external library dependencies.

Key features:

  • Zero external dependencies: Pure vanilla JavaScript and HTML5 Canvas 2D rendering.
  • Customizable density and speed: Adjust snowflake density (10 to 500) and fall speed multiplier (0.1 to 5.0) directly from the WordPress dashboard.
  • Accessibility friendly: Automatically respects the prefers-reduced-motion accessibility preference and marks the decorative canvas with aria-hidden="true".
  • Performance optimized: Uses defer script loading, pauses automatically when the browser tab is hidden, supports client-side navigation (turbo:load), and cleans up all options on uninstall.

Installation

  1. Upload the chris-tdl-snowfall folder to the /wp-content/plugins/ directory, or install the plugin directly through the WordPress Plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Navigate to Snowfall in your WordPress admin sidebar to enable or customize the snowfall density, speed, and accessibility settings.

FAQ

Does this plugin load external scripts or fonts?

No. All assets are bundled locally within the plugin and use native browser APIs with zero external requests.

Will the snowfall animation interfere with clicking buttons or links on my site?

No. The overlay canvas uses pointer-events: none, so all clicks, scrolling, and form interactions pass straight through to your page.

Does it work with caching and optimization plugins?

Yes. The script is loaded cleanly with defer and passes its settings via wp_localize_script().

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Chris TDL Snowfall” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Chris TDL Snowfall” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0.9

  • Added seamless re-initialization on turbo:load for client-side page navigation engines and prevented duplicate global event listeners.
  • Stopped the animation loop cleanly if the canvas element is detached from the DOM.
  • Bumped plugin version, CHRIS_TDL_SNOWFALL_VERSION, and Stable tag to 1.0.9.

1.0.8

  • Updated WordPress compatibility headers (Requires at least: 6.3, Tested up to: 7.1) and aligned archive naming with the plugin slug.
  • Added server-side range clamping for flake density (10–500) and speed (0.1–5.0).
  • Added accessibility support for prefers-reduced-motion and aria-hidden="true" on the canvas.
  • Added automatic animation pause when the browser tab is hidden, dynamic flake resizing on viewport changes, a direct Settings link on the Plugins page, and clean uninstall.php option cleanup.

1.0.7

  • Updated version header, stable tag, and enqueued asset cache-buster.
  • Cleaned directory tree structure and removed nested subfolders/metadata.

1.0.6

  • Updated sidebar menu label to “Snowfall”.
  • Fixed non-breaking space encoding issues.