diff --git a/guides/guides.pde b/guides/guides.pde index 25b08f1..6ed9ce0 100644 --- a/guides/guides.pde +++ b/guides/guides.pde @@ -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);