import .txt data --> Proclipsing
in
Integration and Hardware
•
6 months ago
Hi,
How to import txt data into Proclipsing.
For now, I used this in processing, but the bold line do not work in Eclipse:
- String[] CH = loadStrings("C:/Users/P3tr4s/Documents/PROGRAMMING/eclipse64/Plethora_agent_folow_curve/bin/data/points.txt");
- for (int i = 0; i<CH.length; i++) {
- float[] C = float(split(CH[i], "," ));
- attractors.add( new Attractor(new Vec3D(C[0]*2,C[1]*2, 0), 0.005));
- ellipse(C[0]*2,C[1]*2,10,10);
- }
How to import .txt data into Proclipsing in a right way?
Thank you:)
1