exporting very small circles turning into hexagons
in
Core Library Questions
•
2 years ago
hi guys,
I'm currently working on a large project that requires me to zoom into a map, but i've run into the issue of when exporting circles 0.1 pt in radius they convert to hexagons in pdf. I'm reluctant to scale the whole script because it would mean rescaling a large quantity of csv files.
Is there a way to export the files as circles?
the image below is a rescaled ellipse of 0.1 pt radius.
- import processing.pdf.*;
- boolean record;
- void setup(){
- size(500,500, P3D);
- smooth();
- }
- void draw(){
- if (record) {
- // Note that #### will be replaced with the frame number. Fancy!
- beginRaw(PDF, "frame-####.pdf");
- }
- ellipse(width/2, height/2, 0.2, 0.2);
- if (record) {
- endRaw();
- record = false;
- }
- }
- void keyPressed(){
- if (key == 's'| key=='S') {
- record = true;
- // saveFrame("combine15K-####.png");
- }
- }
1