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 |
- File > Import > General > File System
Import file system |
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:
0 comments