Exemple #1
0
    private static void demo2(PLStream pl)
    {
        pl.bop();
        pl.ssub(10, 10);

        fillColor(pl, out int[] r, out int[] g, out int[] b);
        pl.scmap0(r, g, b);

        draw_gridmap(pl, 100, 16);

        pl.eop();
    }
Exemple #2
0
    private static void demo1(PLStream pl)
    {
        pl.bop();

        int nx = 4;
        int ny = 4;

        {
            pl.ssub(nx, ny);

            draw_gridmap(pl, nx * ny, 0);
        }

        pl.eop();
    }