Share some Lua love!

John J.A. Jannone's icon

Dear all,

I would love to see what folks are doing with Lua. Please reply with your Lua experiments or where they can be located.

Here is a recent experiment of mine, with two simple Lua scripts.

Max Patch
Copy patch and select New From Clipboard in Max.

John

5164.MSP3list.lua
lua
John J.A. Jannone's icon

Here are some handy Lua scripts I've cooked up:

counter.lua -- a floating-point counter
pack.lua -- a pack object with flexible hot inlets
aspect-ratio.lua -- an aspect ratio converter that crops an input image to constrain it to a chosen w/h ratio

Max Patch
Copy patch and select New From Clipboard in Max.

counter.lua

Max Patch
Copy patch and select New From Clipboard in Max.

pack.lua

Max Patch
Copy patch and select New From Clipboard in Max.

aspect-ratio.lua

5531.aspectratio.lua
lua
stkr's icon

thanks so much for these.

please do not stop posting just because it looks like no-one is following along. we are.

i'll join in one day.

commathe's icon

Wish I had the brains to cook stuff up with Lua

John J.A. Jannone's icon

Thanks for the encouragement stkr.

Max Patch
Copy patch and select New From Clipboard in Max.

Here's something I've wanted to write for a while: a comic book page layout algorithm:

5549.comicPage.lua
lua