Branchwell
PulseCanvas project

website

git clone https://branchwell.ai/pulsecanvas/website.git

1 commit pushed here · 1 open to votes · 0 removed by votes · updated 26 min ago

Latest: Website: current files by Branchwell, 28 min ago

📁 compare
📁 download
📁 functions
📁 guides
📁 help
📁 licenses
📁 mcp
📁 privacy
📁 public
📁 research
📁 research-pages
📁 scripts
📁 watch
📄 .gitignore313 B
📄 .node-version3 B
📄 .prettierrc.json43 B
📄 404.html2.2 KB
📄 branch-note.css641 B
📄 download.js1.9 KB
📄 film-player.js1.9 KB
📄 footer.html1.2 KB
📄 hero-scenes.js25.9 KB
📄 hero-visualizer.js3.8 KB
📄 index.html39.1 KB
📄 installer-release.js1.3 KB
📄 main.js9.2 KB
📄 media.config.js1.6 KB
📄 octagons.js5.4 KB
📄 package-lock.json26.0 KB
📄 package.json973 B
📄 page.js616 B
📄 public-links.js630 B
📄 README.md17.9 KB
📄 seo.config.js4.7 KB
📄 SEO.md9.3 KB
📄 site.config.js564 B
📄 style.css63.2 KB
📄 vercel.json152 B
📄 vite.config.js1.0 KB

PulseCanvas Studio website

Static product website for PulseCanvas Studio, a free native Mac music visualizer and music-video maker. Built with semantic HTML, CSS, plain JavaScript, and Vite. Fonts are local. No backend, accounts, on-site checkout, separate newsletter, or Vercel Analytics.

Setup and preview

Use Node.js 22.12+ within the 22.x series and npm. Python 3 is used only by the built-site validation command.

npm ci
npm run dev

Preview: http://127.0.0.1:3010/ . Port 3010 is reserved for this site; --strictPort avoids silently switching it. To inspect production output, run npm run build then npm run preview after stopping this site's development server. Do not stop the running Mac app or other projects' servers.

npm run build
npm run check:seo

The check validates metadata, JSON-LD, crawl directives, sitemap coverage, local assets, internal links, and headings on all eleven pages. seo.config.js defines canonical paths and metadata. scripts/seo.mjs renders them into HTML and generates the sitemap/robots file; vite.config.js and the Vercel output routing follow that same registry. See SEO.md for search intent, content strategy, crawler policy, measurement, indexing dashboards, and remaining destinations.

IndexNow: scripts/indexnow.mjs runs as the last step of npm run deploy:prepare on Vercel. It compares each sitemap page's words with the live page and, on a production deploy, submits only the changed pages so Bing re-reads them within minutes (preview deploys just print the list; local builds do nothing; it never fails a build). Keep public/66365049776433ceca35572e03fca658.txt: IndexNow checks it to confirm the site sent the request.

Public configuration

Copy .env.example to .env.local when overriding destinations. Never commit environment files or credentials.

  • VITE_PUBLIC_SOURCE_URL: owner-designated https://github.com/projectatomai/pulsecanvas. The public repository’s current application source is released under the Unlicense. Pinned releases and third-party files retain their own notices and terms.
  • VITE_NEWSLETTER_URL: the community CTA destination, which defaults to Project ATOM feedback. This site does not collect emails.
  • A self-hosted homepage counter displays aggregate visits without a third-party analytics SDK.
  • VITE_WEBSITE_URL: production origin for the runtime analytics guard. SEO uses the verified canonical origin in seo.config.js; update both if moving domains.
  • VITE_FEATURE_VIDEO_URL, VITE_FEATURE_VIDEO_POSTER_URL, VITE_FEATURE_CAPTIONS_URL: optional public HTTPS or site-relative feature media overrides. The video defaults to its R2 URL in media.config.js.
  • VITE_WALKTHROUGH_URL, VITE_WALKTHROUGH_CAPTIONS_URL: optional walkthrough overrides. The video defaults to its R2 URL in media.config.js. If footage changes, also update the static watch page, transcript, and VideoObject data.
  • VITE_VISUALIZER_MEDIA_BASE_URL: optional directory for loops/ media (same filenames as the R2 bucket). Defaults to the R2 media host in media.config.js.

The shared footer links to Project ATOM, Glimmer, feedback, and the app directory. No social feed or third-party widget is embedded.

Only public web URLs and site-relative media paths are accepted. Never expose local filesystem paths as public destinations.

Creators Edition and downloads

The App Store links are retired (2026-11-27): we are not on the App Store. The homepage, /download/, /help/ and the shared footer link the public TestFlight beta, https://testflight.apple.com/join/477U764J (iPhone and iPad on iOS 18 / iPadOS 18 or later, Apple Vision Pro, and a macOS build), with the label "Join the TestFlight beta". Those links carry data-testflight and send the testflight_click analytics event. Mac CTAs go to the Creators Edition direct download at /download/.

The homepage and /download/ distinguish two free editions and explain projectM, MilkDrop presets, and the Cream of the Crop collection. Pack credit uses “curated by ISOSCELES”; Geiss, Rovastar, Flexi, Martin, and Unchained are credited in the preserved preset titles, including collaborative remixes and mashups. These are engine, collection, and community creator credits; no subsidiary-company, partnership, or endorsement claim is made. Creators Edition is the direct download with native Metal visualizers and the additional OpenGL effects library. The Mac App Store edition includes native Metal visuals, Studio, and the same free export tools, without the additional OpenGL effects. The owner-approved marketing targets the planned editions: “over 100 native visualizers” in both and “7,000+ community effects” in Creators Edition. These broad counts replace the earlier 188-specific proposal. The published Creators Edition 1.0.3 (11) package verifies 181 curated native designs and 7,838 community presets. The earlier uploaded Store build has 31; do not substitute that older build when activating the new edition’s download/listing. Verify the delivered packages before activating the links. The Creators release was built from the full-library worktree snapshot with a matching downloadable source archive; separate native-only development builds are not substitutes for it.

The download page follows Jotley’s installation flow: introduction and installer card, then illustrated drag-to-Applications and launch steps, followed by an edition comparison. The icon and Studio screenshot are actual PulseCanvas assets; the installer diagram is an illustration. No Jotley screenshots, recording permissions, or device requirements are reused.

The owner requested the finished page with placeholder download controls while preparing the installer. Signed and notarized Creators Edition 1.0.3 (11) is now published with a validated release manifest, installer, matching source archive and signed Sparkle appcast. No “coming soon” copy, fake version/file size, fabricated installer URL, or unverified signing badges appear. Until release metadata exists, the installer button is disabled and the page retains neutral instructions. App Store badges link directly to the live listing, verified through Apple’s public lookup API on October 29, 2026 (PulseCanvas Studio by Protomota, LLC, app ID 6821642700).

To activate the direct download:

  1. Verify the intended package includes the Creators OpenGL library, rather than the native-only development catalog. Complete Developer ID signing, Apple notarization, stapling, and Gatekeeper checks using the app’s release tooling; this website does not build or alter the app.
  2. Publish the real DMG and corresponding source archive under immutable PulseCanvas-… filenames in Cloudflare R2. Never put them in Git or the deploy, and never only in public/downloads or .vercel/output; deploy:prepare leaves downloads/ out of the package.
    • Copy both files to /Volumes/Expand/Video/Library/website-media/pulsecanvas/downloads/.
    • Run python3 /Volumes/Expand/Video/Library/website-media/r2_media.py upload pulsecanvas downloads/<file> for each, then verify pulsecanvas.
    • They are then served at https://media.pulsecanvas.si/downloads/<file>. https://pulsecanvas.si/downloads/<file> permanently redirects there, so manifest, appcast and older feed URLs on pulsecanvas.si keep working.
  3. Add public/mac-release.json using the actual release metadata: edition: "creators", notarized: true, numeric build and bytes, numeric dotted version string, lowercase 64-character sha256, downloadUrl ending in .dmg, and sourceUrl ending in -source.tar.gz. Same-origin files must be under /downloads/PulseCanvas-; external URLs must use HTTPS. Include the app’s matching source/notices and separately publish its signed /appcast.xml for Sparkle updates. Never create a placeholder release manifest.
  4. Rebuild and deploy with npm run deploy:prepare. Its check:media step fails if any installer or source archive named in mac-release.json or appcast.xml is missing from R2 or has the wrong size. Valid metadata activates the manual installer link, real file details, verified release badges, checksum, and source link. Desktop Mac visitors on https://pulsecanvas.si/download/ receive one automatic download attempt, with a manual retry link. Local/preview, mobile, and non-Mac visitors do not automatically download anything.

Missing release metadata keeps the page neutral. Failed requests or malformed release data show a retry control without activating a download. node --test scripts/installer-release.test.mjs checks that unsigned, wrong-edition, malformed, or unsafe release data cannot activate the installer.

Application source licensing and projectM/preset/texture terms remain separate. The edition comparison is a feature distinction, not a third-party rights clearance. The existing legal pages and app release documentation retain the licensing details. Sparkle’s update feed remains independent of the website download controls.

Assets and motion

public/images/app-icon.png is the original supplied logo. Optimized 128/256-pixel WebP icons and a 64-pixel favicon keep initial requests small. social-preview.svg is the share-card source; social-preview.png is its 1200×630 social asset. Decorative posters are compressed to their display needs. Full-size app screenshots remain available for enlargement.

The hero features three original full-screen Three.js tunnels in hero-scenes.js: Silk Vortex (a twisting tunnel of folded peach, rose and lilac silk), Helix Drive (a lit, six-lobed tube that twists around the camera with racing neon seams and rings) and Hyperlane (a warp corridor of light streaks and octagonal gates). These are original website artwork, rather than claims about app presets. Each tunnel fills the hero; its vanishing point travels a fast circular orbit (right of centre on landscape screens, above centre on portrait). Scenes change automatically every five seconds of active playback through a ring wipe that expands from the vanishing point; there are no scene-selection buttons. Pause, offscreen visibility, hidden tabs, and page lifecycle all suspend motion and the cycle together. Reduced motion starts with a matching still and loads Three.js only after explicit Play. Missing WebGL or a lost context retains the current still. Stills live in public/images/hero/ as <scene>-wide.jpg (1920×1080) and <scene>-tall.jpg (880×1920, served to portrait viewports); regenerate them with the module's seek() when the artwork changes. Rendering is capped at 60 fps (120 Hz displays draw every other refresh with a tolerance, so frames are never dropped unevenly) and about 1.9 million drawing-buffer pixels, lowers its resolution when frames run slow, renders the outgoing scene only during a 1.1-second transition, and disposes every geometry, material and render target on teardown. Other placements retain Starlit Wing video excerpts. The download's separate Three.js scene loads only when approached.

The website shows the 174-second song film v4, 34-second feature film v6, and 78-second Creators walkthrough v6, refreshed from PulseCanvas 1.2 recordings. The films use animated close-ups and live app footage, native controls, and no autoplay sound. Website copies are H.264/AAC at 60 fps; the films and the walkthrough select 720p, 1080p or 4K for the screen. Versioned captions and posters stay in public/. The standalone /watch/walkthrough/ page includes current captions, transcript and matching VideoObject metadata.

Website videos and downloads

The app installers and source archives are served from R2 under downloads/ (see step 2 of "To activate the direct download"). public/downloads is no longer deployed.

The films (the music video, the short film and the tutorial) play from YouTube, so their views count on the hosting channel. Each shows its poster from public/images with a play button, and youtube-player.js loads the youtube-nocookie player only on click. media.config.js holds each film's YouTube id and poster; to publish a new cut, upload it to YouTube and change the id. The section video loops stream from the pulsecanvas-media Cloudflare R2 bucket at https://media.pulsecanvas.si; they are not committed or deployed, and posters and stills stay in public/. Section video loops use loops/<name>-<size>.mp4 on the same host; the hero is rendered locally in Three.js.

The master copy of each uploaded file is on the Expand drive in /Volumes/Expand/Video/Library/website-media/pulsecanvas. That folder mirrors the bucket: loops/sun-1080.mp4 is served at https://media.pulsecanvas.si/loops/sun-1080.mp4. Delivered 4K originals, the packaged app, the soundtrack and project sessions remain outside this repository. The live hero uses no video files. To publish a new video:

  1. Put the website copy in that folder under a new filename for every new cut, for example PulseCanvas-Feature-v2.mp4. npm run videos:optimize encodes 1080p60 copies of the delivered 4K files into the folder, and never replaces an existing file. Uploads are cached for a year, and the upload script refuses to overwrite a key with different bytes.
  2. Run python3 /Volumes/Expand/Video/Library/website-media/r2_media.py upload pulsecanvas PulseCanvas-Feature-v2.mp4. It sets the content type and Cache-Control: public, max-age=31536000, immutable, then checks the stored checksum.
  3. Run python3 /Volumes/Expand/Video/Library/website-media/r2_media.py verify pulsecanvas to check every public URL, its headers and range requests.
  4. Update media.config.js and, for the walkthrough, the static watch page.

npm run check:media confirms that every video loop the pages can request is live in R2 and seekable. npm run deploy:prepare runs it first. scripts/prepare-deploy.mjs leaves every video file out of the package.

Deployment

Hosting: Cloudflare Pages (since November 24, 2026). Live: https://pulsecanvas.ai/ . Cloudflare Pages project pulsecanvas (account 36090598a0df96b2a7bafd9119b3a15b) builds main for production and every other branch as a preview, at https://pulsecanvas-3qj.pages.dev/. Build command npm run cf:build (media check, Vite build, scripts/prepare-cloudflare.mjs, IndexNow), output dist, NODE_VERSION=22. scripts/prepare-cloudflare.mjs writes _redirects (retired /tips and /donate to /support/, /media/* and /downloads/* to media.pulsecanvas.si), _headers (no-cache feeds, asset caching, noindex review page) and _routes.json; functions/_middleware.js retains download handling. Pages redirects /page and /page/index.html to /page/ and serves 404.html itself.

Domains: pulsecanvas.ai and pulsecanvas.si are both Cloudflare zones and both are custom domains on the Pages project. www.pulsecanvas.ai (proxied placeholder A record) redirects to the root through the zone Redirect Rule WWW to root. In the pulsecanvas.si zone, the Redirect Rule pulsecanvas.si to pulsecanvas.ai (keep app update feeds) sends www.pulsecanvas.si and every pulsecanvas.si path to https://pulsecanvas.ai/<path> (301, query string kept), except /appcast.xml, /mac-release.json, /downloads/* and /.well-known/*, which installed Creators builds still read from pulsecanvas.si. Retain Google's ownership TXT record. Hostinger is still the registrar for pulsecanvas.ai until the registrar transfer.

The bare R2 host roots https://media.pulsecanvas.si/ and https://radio.pulsecanvas.si/ redirect to https://pulsecanvas.si/ with HTTP 301. Cloudflare Single Redirect Redirect media and radio roots to website matches (http.host in {"media.pulsecanvas.si" "radio.pulsecanvas.si"} and http.request.uri.path eq "/"). It does not match file paths, so radio catalogs, music, videos, and installers continue to come from R2. Manage it in Cloudflare Redirect Rules; this rule is independent of Vercel website deployments.

Merges and pushes to main deploy automatically to production through Cloudflare Pages' Git integration. Legacy Vercel setup, kept only until the Vercel project is deleted: Vercel's Git integration still builds main, but no domain points at it. Pull requests receive Preview deployments. Vercel uses Node.js 22.x and runs npm ci followed by npm run deploy:prepare, as configured in vercel.json. This preserves the custom Build Output API routes, redirects, caching, media checks, and SEO validation. Media checks retry failed requests up to three attempts with a short backoff. VITE_BUY_ME_A_COFFEE_URL and VITE_PUBLIC_SOURCE_URL are configured for both Production and Preview.

Manual vercel deploy --prebuilt is a fallback only. With authenticated Vercel CLI and the correct project linked:

npm run deploy:prepare
npm run check:seo
vercel deploy --prebuilt --prod --yes --scope protomota

Use --target preview instead of --prod for preview deployments. Production publishing, commits, and pushes require owner authorization; this SEO update was explicitly authorized. When unrelated working changes exist, review the deployment contents carefully. Preserve changes already live (including the support email page), and exclude unrelated unpublished work. scripts/prepare-deploy.mjs emits Vercel Build Output API v3 static output with canonical redirects, page routing, and asset caching. Unknown paths return 404.

Search Console: https://search.google.com/search-console?resource_id=sc-domain%3Apulsecanvas.si . Bing: https://www.bing.com/webmasters?siteUrl=https%3A%2F%2Fpulsecanvas.si%2F . See VALIDATION.md for actual deployment and submission results. Rankings and AI citations remain dependent on external search providers.

All public routes use footer.html, included as static HTML by Vite. The shared footer includes community feedback, app links, and project credit with consistent responsive spacing. PulseCanvas takes no tips; /tips/ and /donate/ redirect to /support/. Edit the shared template rather than page-specific footer markup.