browse OpenProcessing

pattern 09
Scattered Letters
bah
browse all>

browse the portfolio of Algirdas Rascius

Hexagonal Braid
Miniature VII: Virus
Miniature VI: Colorful bubbles
Miniature V: Curve
see more>
Scattered Letters

Scattered Letters

uploaded by
Algirdas Rascius
Click to restart.

For more info see http://mydigiverse.com/2009/05/scattered-letters/
Embed Code
Fave'd by 83 users
Sketch added to your favorites in your portfolio.
You must login/register to add this sketch to your favorites.

comments

source code

Comments

Guigui
27 Apr 2009, 13:56
Very cleaver, beautiful artwork! One of my favorite open sketch!!! 8^°
Sinan Aşçıoğlu
27 Apr 2009, 14:23
How do you prevent overlapping of the letters?? I couldn't quite get it from the code..
Giovanni Carlo Mingati
28 Apr 2009, 06:48
awesome work
Giovanni Carlo Mingati
28 Apr 2009, 08:20
Sinan, i think he checks the brightness value of the applied mask and also the size of each letter created; maybe. anyway, the final result is really an artwork.
Algirdas Rascius
28 Apr 2009, 10:58
Sinan, algorithm is actually not too complex.

Look at function randomLetter. First of all temporary PGraphics is allocated (variable g), background is set to transparent, and random letter with random rotation is drawn in the center.

Then another temporary PGraphics (variable gMask) is allocated. Image from "g" is copied to it, and then "expanded" by a few pixels using two calls to "filter(ERODE)". This second graphics objects acts as mask - random position is chosen and image in main view is compared pixel by pixel with the mask. If for each masked pixel, pixel in main view is white, it means that there is enough space to draw a letter to a main view.
Michael Reichenbach
28 Apr 2009, 14:00
BRAVO!!! I like this too - very interesting - and the resulting picture is great. I have tried it also with a limited set of letters - it would be great to use it for a set of selected letters (a Name) - It would also be interesting to use the same algorithm for a small symbol (for me I would use musical instruments) or a set of small images instead of letters. I will aso try to add the code to save it as a pdf.
colin mitchell
29 Apr 2009, 16:26
Wow, this is simple and awesome, well done.
Herbert Spencer
19 May 2009, 23:50
simply great.
Mariana L. Torres
24 May 2009, 21:06
Excelente! La programación es muy prolija y sencilla. Felicitaciones
Shad Lillie
08 Jun 2009, 01:59
brilliant.
Kyoko Masuda
11 Jun 2009, 19:39
Love this!
lifo fernandez
09 Sep 2009, 14:41
Hi, awesome work.
ive used it here: http://www.aulamultimedia.com.ar/
i've changes the random characters for the ones for a-u-l-a m-u-l-t-i-m-e-d-i-a
ive atributted to you on the bottom of the page
i hope its ok.
sorry for my english

grettings
L
arquine wong
07 Jan 2010, 18:53
Love it very much! good job!
Owaun Scantlebury
10 May 2010, 09:36
Is this possible with images ?
You need to login/register to comment.