---
title: "ease - s&box library"
description: "Easing library"
canonical: "https://sbox.watch/ru/libraries/nfm/ease/"
generated_at: "2026-10-09T10:06:13.503Z"
---

# ease

Easing library

- Тип: библиотека
- Идентификатор: nfm.ease
- Автор: nonperforming
- Канонический URL: https://sbox.watch/ru/libraries/nfm/ease/
- Markdown: https://sbox.watch/ru/libraries/nfm/ease/index.md
- sbox.game: https://sbox.game/nfm/ease/
- Создано: 2026-10-09T10:06:13.503Z

## Статистика

- динамика за 24 ч: +0
- Terry Score: 27%
- Избранное: 1
- Положительные оценки: 1
- Отрицательные оценки: 0
- Обновлено: 27 дек. 2023 г.
- Создано: 26 дек. 2023 г.
- Размер: 52.1 KB
- Файлы: 4
- Теги: ease, easing, tween

## Описание

About Ease

Ease is a simple easing library that has a few more stuff than
Supports both float (single) and double (double) number types
Supports dependency injection with the interface

Use namespace
Source code will be released when Back/Bounce/Linear easing is implemented

Easing Functions (float, double)

- Sine (In/Out/InOut)
- Quad (In/Out/InOut)
- Cubic (In/Out/InOut)
- Quart (In/Out/InOut)
- Quint (In/Out/InOut)
- Expo (In/Out/InOut)
- Circ (In/Out/InOut)

Planned Features

- Back easing
- Bounce easing
- Linear easing
- Tween value over time
- Tween to Vector2/Vector3 over time

Example

using Ease.Easings;
using Ease.Interfaces;
using Sandbox;

public class Demo
{
 public static void Main()
 {
 IEase ease;

 Log.Info("Sine float");
 ease = Sine();
 DemoFloat(ease);

 Log.Info("Quad double");
 ease = Quad();
 DemoDouble(ease);
 }

 private static void DemoFloat(IEase ease)
 {
 for (float i = 0; i >= 1; i += 0.01f)
 {
 Log.Info(ease.In(i));
 }
 }

 private static void DemoDouble(IEase ease)
 {
 for (double i = 0; i >= 1; i += 0.01)
 {
 Log.Info(ease.In(i));
 }
 }
}




## More by nonperforming

| Package | Идентификатор | Игроки | Избранное | Положительные оценки | Оценка | Markdown |
| --- | --- | --- | --- | --- | --- | --- |
| perfmon | nfm.perfmon | 0 | 2 | 3 | 53% | https://sbox.watch/ru/libraries/nfm/perfmon/index.md |
