Skip to main content
fix image
Source Link
SanguineL
  • 738
  • 2
  • 14

Wolfram Language (Mathematica), 62 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[],Input[]]]

Of course Wolfram has a way to do this. First input is arc radius, and second is \$n\$ number of sides.


Example with input 100, 5:

enter image description hereenter image description here

Wolfram Language (Mathematica), 62 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[],Input[]]]

Of course Wolfram has a way to do this. First input is arc radius, and second is \$n\$ number of sides.


Example with input 100, 5:

enter image description here

Wolfram Language (Mathematica), 62 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[],Input[]]]

Of course Wolfram has a way to do this. First input is arc radius, and second is \$n\$ number of sides.


Example with input 100, 5:

enter image description here

added arc radius, grammar
Source Link
SanguineL
  • 738
  • 2
  • 14

Wolfram Language (Mathematica), 5462 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[]]]Graphics[ResourceFunction["ReuleauxPolygon"][Input[],Input[]]]

Of course Wolfram has a way to do this. First input is arc radius, and second is \$n\$ number of sides.


Example with input 100, 5:

enter image description here

Wolfram Language (Mathematica), 54 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[]]]

Of course Wolfram has a way to do this.


Example with input 5:

enter image description here

Wolfram Language (Mathematica), 62 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[],Input[]]]

Of course Wolfram has a way to do this. First input is arc radius, and second is \$n\$ number of sides.


Example with input 100, 5:

enter image description here

Source Link
SanguineL
  • 738
  • 2
  • 14

Wolfram Language (Mathematica), 54 bytes

Graphics[ResourceFunction["ReuleauxPolygon"][Input[]]]

Of course Wolfram has a way to do this.


Example with input 5:

enter image description here