---
title: Hype Animation Frame
slug: hype-animation-frame
description: Get the best out of Tumult Hype with Hype AnimationFrame, a powerful wrapper for requestAnimationFrame. Access the online example and GitHub repository for easy integration. Stay up-to-date with the version history and learn how to link the latest version
createdAt: 2020-04-15T15:24:34.000Z
---



![](https://playground.maxziebell.de/Hype/AnimationFrame/HypeAnimationFrame_1.jpg# "The cover artwork is not hosted in this repository and copyrighted by Max Ziebell")



## Description

This is Hype AnimationFrame, a wrapper for requestAnimation frame that cleans up after itself made for [Tumult Hype](https://tumult.com/hype/).

## Online Example

[HypeAnimationFrame.html](https://playground.maxziebell.de/Hype/AnimationFrame/HypeAnimationFrame.html)

## GitHub Repository

[[https://github.com/worldoptimizer/HypeAnimationFrame](https://github.com/worldoptimizer/HypeAnimationFrame)](https://github.com/worldoptimizer/HypeAnimationFrame)

## Version-History

:::Changelog{title="Version 1.0 "}
::ChangelogItem{type="added" description="Initial release under MIT"}
:::

:::Changelog{title="Version 1.1"}
::ChangelogItem{type="improved" description="Converted into a self contained extension"}
:::

:::Changelog{title="Version 1.2"}
::ChangelogItem{type="added" description="Added id, scope and refactored names "}
:::

:::Changelog{title="Version 1.3"}
::ChangelogItem{type="added" description="Added support for Framerate  "}
:::

## Content Delivery Network (CDN)

Latest version can be linked into your project using the following in the head section of your project:

```html
<script src="https://cdn.jsdelivr.net/gh/worldoptimizer/HypeAnimationFrame/HypeAnimationFrame.min.js"></script>
```

Optionally you can also link a SRI version or specific releases.&#x20;

Read more about that on the JsDelivr (CDN) page for this extension at https\://www\.jsdelivr.com/package/gh/worldoptimizer/HypeAnimationFrame

:::hint{type="info"}
Learn how to use the latest extension version and&#x20;
how to combine extensions into one file at
------------------------------------------

https\://docs.hypecookbook.de/Including-external-files-and-Hype-extensions
:::



