Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Queue of vectors
regularvib-
es
Newbie
Posts: 3
Permalink
Post Queue of vectors
on: December 20, 2014, 11:11
Quote

Hi.

First, really amazing work Sandy!

I have a little problem, or at least a question.

When i load a vector from .SVG file, and press draw vectors in the console, the queue of the work doesnt follow the the original vector.

It looks like this:

Image

regularvib-
es
Newbie
Posts: 3
Permalink
Post Re: Queue of vectors
on: December 20, 2014, 11:14
Quote

Need to add that i moved the vector to the right, to be able to see the zigzaging of the queue, and it is that i ment by not following the original queue

regularvib-
es
Newbie
Posts: 3
Permalink
Post Re: Queue of vectors
on: December 20, 2014, 11:19
Quote

So the question is, is there a solution to this?

I have processing 2 installed, but i can not run hte source code. I will have another computer up and running with processing 1.5, then i might get a grip of whats wrong.

sandy
Administrator
Posts: 1317
Permalink
sandy
Post Re: Queue of vectors
on: December 20, 2014, 13:55
Quote

Hello, thank you! Good question and well illustrated too.

I _think_ this is problem in the preview code, rather than in the commands themselves. So when the controller reads the commands in the queue back to create the preview, it quantises (snaps) each point to a fairly coarse grid, and things end up looking a little weird when you're close up.

When it draws, they look fine. I am about 98% sure that is correct, because I've noticed this lots of times before during preview, and have never noticed it on the page.

I suspect it is a float-to-int conversion that loses the decimal part of a number. Because I've never seen any bad effects from it (on the page), I've never made it a priority to fix, but if you find it is, let me know, or better still, raise an issue on the code repo (https://github.com/euphy/polargraphcontroller/issues).

Cheers!
sn

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.039 seconds.