Currently, there is no easy way to download the sketch files presented in tutorials.
Perhaps we can explore enabling "copy to clipboard" functionality or a way to download PDE files.
There's also an option of streamlining the process of embedding the Processing sketches in the tutorials by using Hugo's file reader functions and basically creating separate .pde files for each sketch that could be downloaded.
@gohai let me know what you think about this