InitSketch Processing Tool
InitSketch is a little Processing (P5) tool write in Java that allows to have a reusable init template for new sketches and so you can concentrate on coding and not on tedious, repetitive init every time you begin a new sketch in Processing.
InitSketch loves SaveTemplate <3
Installation
To install InitSketch P5 Tool just download the provided zip file and unzip it. Then move the unzipped folder to your Sketchbook Folder and you'll be ready to use it.
If Processing is running at the moment of installation you must restart it.
The files should reside in your Sketchbook folder like this:
~sketchbook/tools/InitSketch/tool/InitSketch.jar
~sketchbook/tools/InitSketch/tool/default.txt
The downloadable zip file should also contain a folder with Javadoc
documentation named doc, and another with the source code in
.java format named src. These two folders are included for your
convenience if you'd like to study, change or build upon the tool.
Usage
After Installing the tool open Processing and create a new blank sketch.
Go to the Tools menu and select InitSketch 0.9 from the list.
Different things happen depending on your file structure:
The first time you run the tool it won't find the templates folder in your sketchbook, so it will tell you the folder is about to be created for you and that the default template is going to be installed over there. After completing this process, the tool will read the just-installed default template and load it into the editor.
If you already have the /templates/ folder in your sketchbook
It will check how many templates you have in there. If it finds only one, it will
load it immediately into the editor. Execution of the tool with just one template
in the templates folder will look pretty much the same it has looked up to version
0.8, with the exception of a few changes in the console messages
If it finds more than 1 template it wil create a list with all the available templates and present you with a dialog to choose one of the templates. When you pick one and hit OK, the selected template is loaded into the editor.
If, for some reason (like accidentally deleting all your templates), the tool can't find any template files it will let you know.
You ca make suggestions and send feedback from the Processing Forum thread or from the SourceForge Project.
License
InitSketch Copyright © 2010-2011 Jonathan Acosta.
InitSketch is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/ >
Feel free to use, modify and share this program.
InitSketch © 2012 Jonathan Acosta, . This site uses the beautiful Lato Open Font. and some icons by Gnome Art
Download version 0.9 (Compatible with Processing 1.5.1)