my aim is to build a random type generator tool, which is able to save a vectorfile.
I already checked the forums for many sollutions, but processing text is allways different with every library I found.
writing vector data makes it not easier.
The Letters of a word shall change randomly, while their shape has to be centered between the lines(rects).
To maintain the centering I had to modify every font that i used by hand and create a VLW font.
A lot of work and I believe that could be made easier.
Everything looks great and works fine on a mac machine.
As i tried it on a win 7 64bit, i get an error. ( use createFont instead of loadFont)
- Using createFont wreks the allignment (centering),
- Rendering with PGraphics gives the Same mistake.
- Using ProSVG doesnt Work also (Nullpointer)
I would really apricciate your help to make that running on a Win and newer Mac Systems.
EDIT:
Actually it is only running on a mac PowerPC g5 10.5.8 (not Intel)
exporting as an Application and execution leads to a grey display, while nothing happens.
Hey,
i would like to animate a SVG file with processing,
Pshape as Geomerative can interpret single shapes in such files.
Maybe the Elements are defined in a index within the file, so i could contact them.
Is it possible to refer to different Elements in a Svg file and for example move them from one to another point or change the shape by code?
Hey,
i want to make my background change randomly after I am over a certain mouseX position.
So i wrote this:
void setup(){
size(500,500);
}
void draw(){
background(255);
if (mouseX >= 250) background(random(250));
}
What do I have to write, if want the background to stay in the last color I got randomly and start changing colors as I cross the mouseX border again, and so on.
It would be nice, if someone could help me please.
I have made a vectordrawing only containing of lines or to make it easier only one curvedVertex Shape. It could be PDF, ai, svg, etc.
now i want to import the coordinates of the line in Processing to be redrawn.
How can i do this?
Probably does someone know a converterscript, which make useable textfiles from pdf or so.
I know I could loadshapes or use geomerative, but the best solution for me would be to get the real coordinates, so i can modify them.
I am trying to draw Traer Particles on Points.
The points are generated with a noisy Agent class, which is storing them in a Arraylist.
In draw I refer to the arraylist to define the position of the Particles.
Then i draw ellipses on the particles.
Allright so far.
Moreover i made a particle on the mouseposition, which attracts the Ellipsed Particles.
Why does the physic not work?
Sorry for this much code, but I reduced it to the max.
how can I make a Background gradient from Black to Alpha = 0 from Top to Bottom.
I know this should be easy and others had already asked similiar questions, but not actually this one.
I am not sure how I can give out x and y coordinates to an Array or Arraylist.
I am trying to find points in a shape working with geomerative
A simple tester is contains. I also get the points drawn but I want to use them later.
/* BUGS: - abstandFill: jekleiner um so langsamer die Anwendung - strokeWeight in draw(): verlangsam Anwendungen */
import geomerative.*; RFont font;
int gridSize;
int x = 0; int y = 0;
int fillCounter = 0; int initSetup = 0; int abstandFill = 2;
Hey Folks,
I wonder if there is a possibility to differ the record size.
Neither changing the width and height value, nor increasing the size() values returns a 1:1 video of my script.
any size() is shrunk to 352x288.