• fullscreen
  • zoomgb.pde
  • /**
     * Scale Shape.  
     * Illustration by George Brower. 
     * Move the mouse left and right to zoom the SVG file.
    PShape bot;
    void setup() {
      size(640, 640);
      // The file "12.svg" must be in the data folder
      // of the current sketch to load successfully
      bot = loadShape("12.svg");
    void draw() {
      translate(width/2, height/2);
      float zoom = map(mouseX, 0, width, 0.1, 4.5);
      shape(bot, -140, -140);


    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.



    Report Sketch

    Report for inappropriate content

    Please provide details if possible:

    Your have successfully reported the sketch. Thank you very much for helping to keep OpenProcessing clean and tidy :)

    Make a Copyright Infringement claim

    Gottfried Beyreuther


    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    I am using my own paintings within processing sketches

    You need to login/register to comment.