Fix image size syntax and add new examples

This commit is contained in:
litter 2020-02-23 14:40:32 -05:00
parent e7d908f049
commit 308e6ecc36
1 changed files with 9 additions and 7 deletions

View File

@ -17,17 +17,17 @@ Building off of the [v2f](https://github.com/sixteenmillimeter/v2f) application
<a name="laser"></a>
## 1. Laser cutting templates
![Vellum laser cut into 16mm strips](docs/vellum2.jpeg?raw=true "Vellum laser cut into 16mm strips" =800x)
![Vellum laser cut into 16mm strips](docs/vellum2.jpeg?raw=true =800x)
The laser cutting templates can be used on their own and without the other components. Use them to cut non-film materials into shapes that can be used in analog film machines. If all you want to do is laser cut materials into film shapes, you're almost done reading.
The provided [.svg](https://github.com/sixteenmillimeter/filmless/tree/master/svg) and [.dxf](https://github.com/sixteenmillimeter/filmless/tree/master/dxf) files can be opened in whichever application you use to control your laser cutter. With just these files you can cut twelve 33-frame strips of 16mm-sized film from any flat material that you can cut with your laser. Whether or not it will run through a projector depends on the material but at least you can cut it! This has been tried with paper, vellum, acetate and inkjet transparency film.
![Vellum closeup](docs/vellum.jpeg?raw=true "Vellum closeup" =256x)![Acetate closeup](docs/acetate.jpeg?raw=true "Acetate closeup" =256x)
![Vellum closeup](docs/vellum.jpeg?raw=true =256x)![Acetate closeup](docs/acetate.jpeg?raw=true =256x)
Using the provided [OpenSCAD](https://www.openscad.org/) file, `scad/16mm_film.scad`, you can generate .dxf or .svg files of your own dimensions. Build strips of any number of frames and generate any number of strips. Just change the variables `FRAMES` and `STRIPS` at the top of the file or use the new Customizer feature in the latest version of OpenSCAD. The default values are `FRAMES = 33` and `STRIPS = 12` which fits into a US Letter sized piece of paper (or inkjet transparency film).
![16mm_film.scad in OpenSCAD](docs/openscad.png?raw=true "16mm_film.scad in OpenSCAD")
![16mm_film.scad in OpenSCAD](docs/openscad.png?raw=true)
For more advanced tweaks, you can change the `PITCH` variable from "long" to "short" to cut camera-sized short pitch film strips. You can also change the `PERFS` variable from "single" to "double" for generating double perforated film strips.
@ -36,17 +36,19 @@ The "pitch" of the film refers to the distance between the perforations and it v
<a name="processing"></a>
## 2. A Processing sketch for generating pages of film strips
![Video converted to film strips](docs/video.jpeg "Video converted to film strips")
![Video converted to film strips](docs/video.jpeg =600x)
If you have installed Processing and the required libraries ([read below](#ffmpeg)) you can use this sketch to generate pages containing strips of 16mm-sized images from image sequences. Using the default settings, this will build a page of 12 strips, each 33 frames long that will comfortably fit on a letter-sized piece of 8.5" x 11" sheet of inkjet transparency film.
![Video with sound converted to film strips](docs/video2.jpeg?raw=true =600x)
By including a path to a *mono* audio file, tested only with .wav files so far, this sketch will build an optical soundtrack facsimile using the [SoundtrackOptical](https://github.com/sixteenmillimeter/SoundtrackOptical) library for Processing and sit it in the correct area of the film strip.
![Closeup on frame with soundtrack](docs/sound.jpeg?raw=true)
The sketch can be modified to accommodate different desired output; generating Super16 filmstrips, inverting your image to negative or creating double-perf film strips. [Read more about setting the sketch variables below.](#variables)
![filmless_processing.pde Processing sketch](docs/processing.png?raw=true "filmless_processing.pde Processing sketch")
![filmless_processing.pde Processing sketch](docs/processing.png?raw=true)
<a name="scripts"></a>
## 3. Scripts for exporting video to image sequences
@ -77,7 +79,7 @@ You don't need to use this script to export your video to image sequences. You c
You can alternately generate image sequences with other Processing sketches, thereby having a completely cameraless and **cough** filmless process for creating 16mm analog movies.
![Generative example from Processing sketch](docs/generative2.jpeg "Generative example from Processing sketch" =256x)![Example from a GAN](docs/gan.jpeg "Example from a GAN" =256x)
![Generative example from Processing sketch](docs/generative2.jpeg =256x)![Example from a GAN](docs/gan.jpeg =256x)
Note: Processing can only read .tif files produced by the application itself, so unless you are using an image sequence generated by Processing save your files as .png or .jpeg. This