dshbase

插件目录 / Developer / dsh-particle-whale

dsh-particle-whale

已验证 · 实测可装 zepeng-jin

✓ 持续维护 基于 4 个官方 DSH 包

查看 GitHub ↗ ← 返回插件目录

0Stars
0Forks
0未关闭 issue
—语言
2026-08-16最近推送
跨平台平台

功能简介

🐳 DeepSeek official 3D particle whale plugin for DeepSeek Harness / DSH Desktop (Three.js WebGL)

✅
我们的评价
可用 — 实测通过,早期项目

🐳 DeepSeek official 3D particle whale plugin for DeepSeek Harness / DSH Desktop (Three.js WebGL) 实测能干净安装、正常启动。早期项目,但功能可用。

「已验证」表示我们的自动化 CI 在干净 profile 里实际执行了 dsh plugin add 并启动成功——仅此而已。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

README

dsh-particle-whale 🐳

English | 简体中文

A native Three.js 3D particle whale background plugin for DeepSeek Harness (DSH) and DSH Desktop.

Recreated with authentic WebGL shaders, full-screen forward fluid locomotion, volumetric 3D particle distribution, and real-time reactive state hooks.


Features

  • Volumetric 3D Particle Mesh: Uses distance-transform mapping to turn DeepSeek's 2D vector silhouette into a full 3D spindle body with curved dorsal/belly thickness, surface normals, specular highlights, and Fresnel rim glow.
  • Head-First Forward Swimming: True aquatic locomotion where the head guides the heading and traveling waves propagate down the spine to the flukes. Banks smoothly into turns across the full window.
  • Reactive Agent State:
    • Idle: Calm, full-screen widescreen cruise (1.05x scale, 1.1x speed) with subtle tail undulation.
    • Active (Thinking / Streaming / Tool execution): Smoothly swims to the top-right corner, scales down into a mini companion indicator (0.45x scale), and orbits with high-energy bioluminescent pulse waves.
  • New Session Scatter Effect: Triggers a clean nebula explosion and reassembly animation only when creating a new session (Cmd+N / Ctrl+N or clicking the "New Chat" button). Casual clicks are ignored to keep reading undisturbed.
  • Frosted Glass Composer: Adds an 88% translucent frosted glass finish (backdrop-filter: blur(20px)) to the chat input card so the whale swims visibly underneath without affecting text contrast.
  • Dark / Light Theme Adaptive: Silver-cyan glowing particles with additive blending in dark mode; high-contrast deep sapphire particles in light mode.
  • Settings Panel Integration: Plugs directly into DSH Desktop's General Settings page with a native toggle switch and local state persistence.
  • High Performance (60–120 FPS): pointer-events: none overlay, precomputed jitter buffers, instanced mesh rendering, and decoupled async state polling.

Directory Structure

dsh-particle-whale/
├── package.json          # Cordis client injection manifest
├── cordis.patch.yml      # Cordis kernel plugin patch
├── build.mjs             # esbuild bundler (inlines Three.js runtime)
├── src/
│   └── client.ts         # WebGL rendering pipeline, physics & UI store
├── lib/
│   ├── index.js          # Host entry (empty for client-only plugins)
│   └── client.js         # Production bundle (zero runtime dependencies)
├── README.md
└── LICENSE

Quick Start

Option 1: Symlink (Recommended for local dev & testing)

  1. Open the DSH Desktop web profile node_modules directory:

    cd ~/Library/Application\ Support/dsh-desktop/harness/profiles/web/node_modules
    
  2. Symlink this project:

    ln -s /path/to/dsh-particle-whale dsh-particle-whale
    
  3. Register the plugin in ~/Library/Application Support/dsh-desktop/harness/profiles/web/package.json:

    {
      "dependencies": {
        "dsh-particle-whale": "*"
      },
      "dsh": {
        "profile": {
          "bundles": [
            "dsh-particle-whale"
          ]
        }
      }
    }
    
  4. Launch or reload DSH Desktop (Cmd+R).


Option 2: Install via npm

cd ~/Library/Application\ Support/dsh-desktop/harness/profiles/web
npm install dsh-particle-whale

Development & Building

To modify the shaders, kinematics, or UI components:

# Install build dependencies
npm install

# Compile src/client.ts -> lib/client.js
npm run build

License

MIT © 2026

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 dsh-particle-whale」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包。

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:zepeng-jin/dsh-particle-whale

Headless(CLI)profile:

dsh plugin --profile headless add github:zepeng-jin/dsh-particle-whale

实测报告

验证通过:从 GitHub 源码完成 L1 安装 + L2 加载 + L3 运行(dsh 0.1.0-rc.6)。

安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7819 个插件 →