Draw a bolex fame (10% smaller)

This commit is contained in:
Matt McWilliams 2021-07-30 00:08:34 -04:00
parent 614c8fafef
commit db806a9eef
1 changed files with 19 additions and 4 deletions

View File

@ -2,7 +2,7 @@ import processing.svg.*;
int n = 0;
String NAME = "number_" + str(n);
String NAME = "guide_frame";
float IN = 25.4;
float MM = 96 / IN;
@ -100,13 +100,28 @@ void frame () {
line(frameLeft, frameBottom, frameLeft, frameTop);
}
void draw () {
marks();
//bolex viewfinder frame, 90% of full
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
//drawNumber(4, frameLeft + ((frameRight - frameLeft) / 2.0), 1.0 * MM);
//frame();
//bisect
/*
line(0,H/2,W,H/2);