particles-physics

Apply forces, fields, and constraints to particles with Euler, Verlet, or RK4 integration.

27|2|Updated Apr 18, 2025
One-click install
npx skills add https://github.com/tanepiper/teskooano --skill particles-physics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: particles-physics
Source: https://github.com/tanepiper/teskooano/tree/main/.cursor/skills/particles-physics
Command: npx skills add https://github.com/tanepiper/teskooano --skill particles-physics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires three, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill enables deterministic particle motion by applying forces, fields, and constraints to a set of particles.

Core Features & Use Cases

  • Forces & Fields: gravity, wind, drag, turbulence, velocity fields, and attractors/repulsors to drive dynamic particle motion.
  • Collision & Constraints: plane and sphere collisions with simple bounce for interactive simulations and visual effects.
  • Programmable Integration: supports Euler, Verlet, and RK4 integration for different fidelity and performance needs.
  • Use Case: generate artistic swarms, fluid-like motion, and physically plausible particle systems in 3D scenes.

Quick Start

Use the particles-physics skill to apply gravity and update particle positions each frame using velocity integration.

Frequently Asked Questions about particles-physics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate realistic particle motion with forces in threejs?

You can simulate realistic particle motion by applying gravity, wind, drag, turbulence, and attractors to particles using per-frame updates. This skill provides modular scripts to drive dynamic motion and physically plausible particle systems in a TypeScript/WebGL environment.

What integration methods are available for updating particle velocity and position?

Particle velocity and position updates support Euler, Verlet, and RK4 integration methods. These programmable options let you balance simulation fidelity against performance requirements when applying forces and constraints to your particle system.

Can I handle particle collision with planes and spheres in a WebGL simulation?

Yes, you can handle particle collision with planes and spheres using simple bounce constraints. These collision features enable interactive simulations and visual effects directly within your three-dimensional scenes.

Does this particle physics skill support velocity fields and attractors for artistic swarms?

Yes, the skill supports velocity fields, attractors, and repulsors to drive dynamic particle motion. These forces allow you to generate artistic swarms and fluid-like motion for visual effects in your 3D scenes.

What's the best way to create deterministic particle motion with turbulence and drag?

The best way to create deterministic particle motion is by applying specific forces like turbulence and drag to a set of particles. This approach ensures consistent, reproducible physical simulations rather than random visual artifacts.

Are there limitations when using RK4 integration for particle physics in a browser?

RK4 integration provides high fidelity but demands more calculations per frame compared to Euler or Verlet. This can impact performance in browser-based WebGL environments when simulating large sets of particles with complex forces.