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

Hey everyone! :wave:

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! :handshake:

1 Like

Hey everyone! v1.4.0 of figurate_numbers is out :partying_face:

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! :sparkles:

1 Like