Processing syntax transpile rules (v0)
What Java-like syntax the bridge currently rewrites.
Parameters are not fully documented yet.
Not specified.
No additional runtime notes yet.
void setup(), void draw(), and common event callbacks are transpiled.int, float, and boolean become Lua locals.if/else, while, and numeric for loops are translated to Lua block syntax.!=, &&, and || are rewritten to Lua equivalents.sin() and cos() map to math.sin() and math.cos().