mirror of
https://github.com/euphy/polargraphcontroller
synced 2025-01-09 19:55:16 +01:00
v2.2.2 better startup options
This commit is contained in:
parent
dba8bb5b2a
commit
81b45259e3
@ -39,7 +39,7 @@ class Machine
|
|||||||
protected Rectangle imageFrame = new Rectangle(1500,1500,1000,1000);
|
protected Rectangle imageFrame = new Rectangle(1500,1500,1000,1000);
|
||||||
protected Rectangle pictureFrame = new Rectangle(1600,1600,800,800);
|
protected Rectangle pictureFrame = new Rectangle(1600,1600,800,800);
|
||||||
|
|
||||||
protected Float stepsPerRev = 800.0;
|
protected Float stepsPerRev = 200.0;
|
||||||
protected Float mmPerRev = 95.0;
|
protected Float mmPerRev = 95.0;
|
||||||
|
|
||||||
protected Float mmPerStep = null;
|
protected Float mmPerStep = null;
|
||||||
|
@ -58,7 +58,7 @@ import java.lang.reflect.Method;
|
|||||||
|
|
||||||
int majorVersionNo = 2;
|
int majorVersionNo = 2;
|
||||||
int minorVersionNo = 2;
|
int minorVersionNo = 2;
|
||||||
int buildNo = 1;
|
int buildNo = 2;
|
||||||
|
|
||||||
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
String programTitle = "Polargraph Controller v" + majorVersionNo + "." + minorVersionNo + " build " + buildNo;
|
||||||
ControlP5 cp5;
|
ControlP5 cp5;
|
||||||
@ -2564,7 +2564,7 @@ public PVector getHomePoint()
|
|||||||
public DisplayMachine getDisplayMachine()
|
public DisplayMachine getDisplayMachine()
|
||||||
{
|
{
|
||||||
if (displayMachine == null)
|
if (displayMachine == null)
|
||||||
displayMachine = new DisplayMachine(new Machine(5000, 5000, 800.0, 95.0), machinePosition, machineScaling);
|
displayMachine = new DisplayMachine(new Machine(5000, 5000, 200.0, 95.0), machinePosition, machineScaling);
|
||||||
|
|
||||||
displayMachine.setOffset(machinePosition);
|
displayMachine.setOffset(machinePosition);
|
||||||
displayMachine.setScale(machineScaling);
|
displayMachine.setScale(machineScaling);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user