# Barrel Ride Physics Simulator AI Agent Connect

> Deterministic barrel riding physics and positioning calculator.

## Overview
- **Category:** simulation
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_h8R2bcVxTmzJuqa7WzAmaPxloY6lq1n7yu6Z6m6i/ai-agent-connect
- **Tags:** surfing, physics, wave-dynamics, simulator, ocean

## Description

This MCP server provides precise physics calculations for surfers navigating a wave barrel. Use `calculate_barrel_dynamics` to get a full snapshot of the ride, including optimal positioning, time in the tube, and survival probability. You can also use `check_safety_thresholds` to determine if your speed is sufficient to avoid being crushed, or `get_positioning_guidance` to find the ideal 'slot' within the barrel.

## Tools

### get_positioning_guidance
Calculates the target "slot" for a surfer to aim for within a specific barrel size

### calculate_barrel_dynamics
Provides a comprehensive snapshot of the physics within the barrel for a specific wave state and surfer speed

### check_safety_thresholds
Determines if a specific surfer speed is sufficient to avoid being crushed by the wave

## Prompt Examples

**Prompt:** 
```
Calculate the barrel dynamics for a wave with a 45 degree face angle, a surfer speed of 8 m/s, a barrel diameter of 5 meters, and a wave speed of 9 m/s.
```

**Response:** 
```
The optimal positioning is 3.25m, the time in the barrel is 0.625 seconds, the spray deflection angle is 45 degrees, the survival probability is Low (getting crushed), and the exit trajectory angle is 30 degrees.
```

**Prompt:** 
```
Is a surfer moving at 10 m/s safe in a wave moving at 11 m/s?
```

**Response:** 
```
The survival probability is High.
```

**Prompt:** 
```
Where should I position myself in a 4 meter wide barrel?
```

**Response:** 
```
The target position for the optimal slot is 2.6 meters.
```

## Frequently Asked Questions

**How do I know if I will be crushed by the wave?**
You can use the `check_safety_thresholds` tool to compare your speed against the wave speed. If your speed is less than 80% of the wave speed, the tool will return a 'Low (getting crushed)' status.

**What is the 'slot' in a barrel?**
The 'slot' is the optimal longitudinal position within the barrel. You can find this specific meter mark using the `get_positioning_guidance` tool.

**Can I get a full physics report for a specific wave?**
Yes, the `calculate_barrel_dynamics` tool provides a comprehensive report including optimal positioning, time in barrel, spray deflection angle, survival probability, and exit trajectory.
