Semicircle in a Multislider

Nov 8, 2012 at 10:00pm

Semicircle in a Multislider

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.

[attachment=207969,4632]

Attachments:
  1. semicircle.png
#65120
Nov 9, 2012 at 8:11am

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

#234746
Nov 9, 2012 at 10:38am

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)

– Pasted Max Patch, click to expand. –
#234747
Nov 9, 2012 at 1:36pm

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

#234748
Nov 9, 2012 at 2:00pm

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 ;)

#234749
Nov 9, 2012 at 5:34pm

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

#234750

You must be logged in to reply to this topic.