Skip to main content

Posts

Showing posts with the label processing

PYTHON PROCESSING / Working with Image

IMAGE being drawn on top of each other on every loop. Each image is drawn on the position of mouse X and Y. Can you guess what image is this? Continuing with my Python Processing study. I wanted to touch on IMAGE object real soon because it is one of the most fun topic we can do pretty quickly and easily. While doing this, I am also looking at the provided example on IMAGE topic and also this YouTube video tutorial by John Park on Processing 3 (Java):  https://youtu.be/ddtdPO3m1hw What I am showing here is pretty basic however important for beginners and I am familiarizing myself with Python language for Processing. Instead of Java. The whole code looks like below, with some parts commented for you to try yourself: //Your code here //Be sure you escape your tags with < and > when displaying things like HTML. Few important notes: With Python, we do not seem have to explicitly specify the TYPE of object instance we are creating...

PYTHON PROCESSING / It only really begins ...

Back into Processing again, with Python! While Daniel Shiffman is continuously inspiring us with his CODING TRAIN series on YouTube, using Processing with Java and Javascript language, I decided to free my mind and trying to really do something using Processing and Python language. Installing Python language version on Processing 3 is easy enough, just first download the latest Processing and install the Python language mode via Add Mode button. Other link that might help: https://github.com/jdf/processing.py http://py.processing.org/tutorials/ BLANK MODE As soon as Processing Python Mode, opens up and running I am presented with a  blank environment. Suddenly I recalled my journey in learning programming from zero until now... With Python, outside Processing, commonly people will be introduced to Python IDE or IDLE environment. Something that looks like Console Window or Command Prompt, where we type single liners command. Python Command Line and IDE normally ha...

PYTHON PROCESSING / Better late than never!

Only the other day, I started to look at Processing again. And I just realized it has Python mode! MOMENT OF REALIZATION I really SHOULD have taken Processing thing more seriously years ago. I practice and study Processing ON and OFF, depending on interest. Processing was particularly very popular around 2010. Still not dying today, not sure whether people are still using it or not. Lots of good books were written back then. As Visual Artist, my attempt to start getting serious with programming started when I was looking at works from John Maeda. I have one of his digital art book, still inspiring and brilliant. I think his book and tool titled Design By Number (DBN) is one of books that encourage myself to try on programming. DBN is simple and interesting and the book is worth looking before one jumps into Processing. There is also another book about "Basics Programming" with lots of cartoon drawing of dragons, etc. It helps me to say to myself: "Ok, I should learn...