Multimedia Programming with Processing

7:02 PM

I've got new study on Multimedia Broadcasting, the course called Multimedia Programming, it's replace my visual programming course. On Multimedia Programming i use Processing. It's free open source software, work on Linux, Mac and Windows. But, i still have problem using video programming on Linux. I will share there when i found the solution, or you want share the solution there? I am using processing 1.5.1.
Processing is an open source programming language and environment for people who want to create images, animations, and interactions. Initially developed to serve as a software sketchbook and to teach fundamentals of computer programming within a visual context, Processing also has evolved into a tool for generating finished professional work. Today, there are tens of thousands of students, artists, designers, researchers, and hobbyists who use Processing for learning, prototyping, and production.
There is an example of my test project using processing library on eclipse



1. Create java project with name ProcessingTest
Create java project
2. Import Processing library to eclipse with this step

  • File > Import > General > File System
Import file system
  • Browse the processing directory > choose core.jar > Finish
Import core.jar
  • Right click on core.jar > build path > add to build path
Build path
3. Create a new MyProcessingSketch Class and put this code to the Class
import processing.core.*;

public class MyProcessingSketch extends PApplet {
  public void setup() {
    size(400,400);
    background(0);
  }

  public void draw() {
    stroke(200);
    if (mousePressed) {
      line(mouseX,mouseY,pmouseX,pmouseY);
    }
  }
}
4. After that, try to RUN the project, i think your program will be look like that when you press mouse on the window
Result
I hope you can enjoy it! Happy Coding! OMG, i forgot give link to download the processing! You can download processing for free there:

You Might Also Like

0 comments

Popular Posts

Subscribe