---
sidebar_position: 2
---

# Brownian Bridge

### Math Background

Soon...

### Usage

```ts
import { brownianBridge } from "stochastic-js";

const n = 100;
const T = 1;

const { B } = brownianBridge(n, T);

// B is the generated sample of the brownian bridge.
```
