Forums > MaxMSP

Magic Square Mathematical formula

Sep 27 2010 | 6:45 pm


I’m building a Magic Square with 8 colums & 12 rows, as Musikalische Wurfelspiel of W.A.Mozart.
I have passed 2 hours to fill in numbers in a jit.cellblock.

Have somebody knows if there is an expresion or a mathematical formula (or object) to do this in a synthetic



Sep 27 2010 | 10:06 pm

Don’t mean to be flippant, but your matrix is not square. What exactly do mean by "magic square" in this context? As a general answer to question about filling a matrix algorithmically, see Jitter Tutorial 2, "Create a Matrix". (Useful for demonstrating the process, even if you don’t have Jitter.)

Sep 27 2010 | 10:08 pm

a square of different sizes for colums and rows?
dont you mix it up with sudoku?

Sep 27 2010 | 10:31 pm

sudoku algorithmic ?

here is a solver !

Sep 28 2010 | 7:13 am

@ Christopher, Yeah, that is truth, is not a square! Sorry , the matrix consist of 8X8. Thank for your advice I will check-up the Jitter Tutorial2

@Roman & Francois, thanks for the idea! I never understand Sudoku formula, but why not to try to do a patch from it, later?!

Thanks again you guys!

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > MaxMSP