Semicircle in a Multislider

Letraset Catalogue's icon

I can't figure our the math(s) required to 'fill' a mutilslider with a semicircular curve via expr (see image). I just about managed a messy cartopol solution that required an uzi of over 4000!. Any suggestions would be much appreciated.

4632.semicircle.png
png
Roman Thilenius's icon

start from [cos], play with offsets (probably - 0.5)

Floating Point's icon
Max Patch
Copy patch and select New From Clipboard in Max.

for a semicircle between x= 0 and x=2, with a radius of 1, y=sqrt(2x-x^2) ie centre is at (1,0)

Letraset Catalogue's icon

Beautiful! I probably spent four hours struggling with that. Thanks so much.

dtr's icon

of course, one could wonder why you'd want a semi-circle in a multislider and whether there's a more appropriate method for achieving that goal ;)

Letraset Catalogue's icon

I find multisliders useful for seeing how lists are being modified. It'll go in a Matrix eventually.