# Figurate Numbers for Sonic Pi (New Ruby gem for infinite number sequences and patterns)

**URL:** <https://in-thread.sonic-pi.net/t/figurate-numbers-for-sonic-pi-new-ruby-gem-for-infinite-number-sequences-and-patterns/8962>\
**Category:** Creations & Ideas\
**Created:** [June 19, 2024, 5:45am UTC](https://in-thread.sonic-pi.net/t/figurate-numbers-for-sonic-pi-new-ruby-gem-for-infinite-number-sequences-and-patterns/8962 "2024-06-19T05:45:10Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![EdgarDelgadoVega](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/edgardelgadovega/32/3083_2.png) [@EdgarDelgadoVega](https://in-thread.sonic-pi.net/u/EdgarDelgadoVega)\
**Post date:** [November 15, 2024, 4:24am UTC](https://in-thread.sonic-pi.net/t/figurate-numbers-for-sonic-pi-new-ruby-gem-for-infinite-number-sequences-and-patterns/8962/21 "2024-11-15T04:24:57Z")

</div>

Hey everyone! 👋

I’m working on a **Lua** version of _figurate\_numbers_ (currently at v0.8.0). The main motivation behind this is the shift from **Sonic Pi** to **Lua** in the **Tau5** environment, which will use Lua to provide better performance and enhanced security for generative music workflows.

Handling **large numbers** has been tricky, and I haven’t yet turned to external libraries, though I intend to use them to improve precision. If you have experience with **Lua** or would like to contribute, I’d appreciate your help! The project is on **GitHub** , and you can install it easily using **LuaRocks**.

I really appreciate any support or contributions! 🤝

> **[GitHub - edelveart/figurate-numbers: figurate-numbers is the most comprehensive and...](https://github.com/edelveart/figurate-numbers)**
>
> figurate-numbers is the most comprehensive and specialized Lua module for figurate numbers, capable of generating up to 235 different sequences across various dimensions and generalizations.

> **[figurate-numbers - LuaRocks](https://luarocks.org/modules/edelveart/figurate-numbers)**
>
> Generates 235 multidimensional figurate number sequences.

---

<div class="post-metadata">

**Author:** ![EdgarDelgadoVega](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/edgardelgadovega/32/3083_2.png) [@EdgarDelgadoVega](https://in-thread.sonic-pi.net/u/EdgarDelgadoVega)\
**Post date:** [December 26, 2024, 4:37pm UTC](https://in-thread.sonic-pi.net/t/figurate-numbers-for-sonic-pi-new-ruby-gem-for-infinite-number-sequences-and-patterns/8962/22 "2024-12-26T16:37:04Z")

</div>

Hey everyone! **v1.4.0** of `figurate_numbers` is out 🥳

This update brings some cool changes:

We’ve split the Figurate Numbers into **four separate modules** :

1. FigurateNumbers
2. PlaneFigurateNumbers
3. SpaceFigurateNumbers
4. MultiDimensionalFigurateNumbers

You now need to use `require <Path>` for Sonic Pi.

Also, we’ve **simplified method names** by dropping the `_numbers` suffix (except for Zoo numbers).

Hope you enjoy these updates and wishing you all a wonderful holiday season! ✨

[Previous page](https://in-thread.sonic-pi.net/t/figurate-numbers-for-sonic-pi-new-ruby-gem-for-infinite-number-sequences-and-patterns/8962.md?page=1)
