Draw a bolex fame (10% smaller)
This commit is contained in:
parent
614c8fafef
commit
db806a9eef
|
@ -2,7 +2,7 @@ import processing.svg.*;
|
||||||
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
|
||||||
String NAME = "number_" + str(n);
|
String NAME = "guide_frame";
|
||||||
|
|
||||||
float IN = 25.4;
|
float IN = 25.4;
|
||||||
float MM = 96 / IN;
|
float MM = 96 / IN;
|
||||||
|
@ -100,13 +100,28 @@ void frame () {
|
||||||
line(frameLeft, frameBottom, frameLeft, frameTop);
|
line(frameLeft, frameBottom, frameLeft, frameTop);
|
||||||
}
|
}
|
||||||
|
|
||||||
void draw () {
|
//bolex viewfinder frame, 90% of full
|
||||||
marks();
|
void bolex () {
|
||||||
|
float fiveX = (frameRight - frameLeft) / 20.0;
|
||||||
|
float fiveY = (frameBottom - frameTop) / 20.0;
|
||||||
|
float bolexLeft = frameLeft + fiveX;
|
||||||
|
float bolexRight = frameRight - fiveX;
|
||||||
|
float bolexTop = frameTop + fiveY;
|
||||||
|
float bolexBottom = frameBottom - fiveY;
|
||||||
|
|
||||||
|
line(bolexLeft, bolexTop, bolexRight, bolexTop);
|
||||||
|
line(bolexRight, bolexTop, bolexRight, bolexBottom);
|
||||||
|
line(bolexRight, bolexBottom, bolexLeft, bolexBottom);
|
||||||
|
line(bolexLeft, bolexBottom, bolexLeft, bolexTop);
|
||||||
|
}
|
||||||
|
|
||||||
|
void draw () {
|
||||||
|
//marks();
|
||||||
|
//bolex();
|
||||||
|
frame();
|
||||||
//1234
|
//1234
|
||||||
//drawNumber(4, frameLeft + ((frameRight - frameLeft) / 2.0), 1.0 * MM);
|
//drawNumber(4, frameLeft + ((frameRight - frameLeft) / 2.0), 1.0 * MM);
|
||||||
|
|
||||||
//frame();
|
|
||||||
//bisect
|
//bisect
|
||||||
/*
|
/*
|
||||||
line(0,H/2,W,H/2);
|
line(0,H/2,W,H/2);
|
||||||
|
|
Loading…
Reference in New Issue