mirror of
https://github.com/euphy/polargraphcontroller
synced 2024-11-14 02:07:57 +01:00
Some sw
awtooth stuff.
This commit is contained in:
parent
65a9c9afc1
commit
b09c22123e
@ -249,8 +249,11 @@ void button_mode_renderSquarePixel()
|
||||
}
|
||||
void button_mode_renderSawPixel()
|
||||
{
|
||||
// if (pixelCentresForMachine != null && !pixelCentresForMachine.isEmpty())
|
||||
// sendSawtoothPixels();
|
||||
if (getDisplayMachine().pixelsCanBeExtracted() && isBoxSpecified())
|
||||
{
|
||||
Set<PVector> pixels = getDisplayMachine().extractNativePixelsFromArea(getBoxVector1(), getBoxVectorSize(), getGridSize(), sampleArea);
|
||||
sendSawtoothPixels(pixels);
|
||||
}
|
||||
}
|
||||
void button_mode_renderCirclePixel()
|
||||
{
|
||||
|
@ -1372,7 +1372,9 @@ void keyPressed()
|
||||
{
|
||||
|
||||
keys[keyCode] = true;
|
||||
println(KeyEvent.getKeyText(keyCode));
|
||||
//println("key: " + KeyEvent.getKeyText(keyCode));
|
||||
//println("Keys: " + keys);
|
||||
//println("Keycode: " + keyCode);
|
||||
|
||||
if (checkKey(CONTROL) && checkKey(KeyEvent.VK_PAGE_UP))
|
||||
changeMachineScaling(1);
|
||||
|
@ -203,7 +203,7 @@ public void trace_captureCurrentImage()
|
||||
{
|
||||
// capturedImage = webcam_buildLiveImage();
|
||||
if (getDisplayMachine().imageIsReady())
|
||||
webcam_captureCurrentImage(getDisplayMachine().getImage());
|
||||
trace_captureCurrentImage(getDisplayMachine().getImage());
|
||||
}
|
||||
|
||||
public void trace_processLoadedImage()
|
||||
|
Loading…
Reference in New Issue
Block a user