Skip to main content

Posts

Showing posts from March, 2017

DEMO / SV Send Nodes

LIVENODING / SV Texture Viewer Update

LIVENODING / SV Quirky Tile with Grease Pencil

DEMO Grease Pencil and Sverchok

LIVE NODING / SV Grease Pencil Clonings

LIVENODING / SV Grease Pencil Cross Hatching and Art of Wickering

LIVENODING / SV Grease Pencil Circles

FUNDAMENTAL / ANSV Procedural Get and Set Attr

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, in

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 have t

music21 / MIDI and Python

If you like to generate music with Python, the last time I checked, we have module for ChucK and also for Pi Sonic. They both require server to talk to Python, there might be slight latency and delay, but they are quite fun and easy to setup. And... there is also this fully Python module that deals with music: (a bit hard to use I found) http://ajaxsoundstudio.com/software/pyo/ I like the idea of being able to generate music on the fly via Python. Would be nice if realtime, and if I could connect it to ... Blender 3D for example. Anyhow, I remember apart from SYNTH there is also MIDI, and maybe Music Generation does not have to be realtime, if we can code certain BEAT and TRIGGER to match the animation or sampling of other stuff that we can visualize. PYTHON AND MIDI By some kind of magic I actually stumbled into this 'music21' module for Python. http://web.mit.edu/music21/doc/about/what.html I look through this 'music21' quickly and found lots of interesti