---
title: "teardrop"
description: "A teardrop: a round bulb tapering to a sharp point, point up at rotation 0."
group: "space"
groupTitle: "Shapes, frames & warps"
categoryId: "shape"
categorySlug: "shape"
categoryTitle: "Shapes"
kind: "function"
sourceUrl: "https://github.com/shader-effects-inc/shaders/blob/main/packages/core/src/std/shape.ts#L214"
---

# teardrop

A teardrop: a round bulb tapering to a sharp point, point up at rotation 0.

```ts
teardrop(x: Val, y: Val, radius: Val, height: Val): Expr
```

Import `shape` from `shaders/std` and use `shape.teardrop`.

`radius` is the bulb's radius and `height` the distance from the bulb's centre to the point, both in uv.

## Parameters

| Name | Type | Notes |
|---|---|---|
| `x` | `Val` |  |
| `y` | `Val` |  |
| `radius` | `Val` |  |
| `height` | `Val` |  |

## Example

```ts
shape: {distance: ({x, y}, u) => teardrop(x, y, u('radius'), u('height')), …}
```

## See also

- [`heart`](/docs/primitives/shape/heart) — A heart, point down at rotation 0.
- [`ellipse`](/docs/primitives/shape/ellipse) — An ellipse with separate horizontal and vertical radii.

## Used by

[Teardrop](/docs/components/teardrop)