We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello!
Is it possible to make a new sketch contain some code by default? I find myself writing some modes and functions almost every time, like pixelDensity(displayDensity())
and a HSL color function. This would enable me to focus more on art and less on setting up an environment.
I read through preferences.txt
and I could not find anything like this. I expected I could choose a file to be the default sketch (just like you can choose the sketchbook location).
Of course, I can work around this by manually copy pasting the code from a file. I am using Processing 3.3
Comments
@felixblade -- see Templates in Processing 3.2+: