Questions tagged [vector-graphics]

For questions about scalable 2D graphics based on vector operations, as opposed to raster graphics. For example, polygons, Bézier curves and ellipses.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
1 answer
3k views

How to draw an orthogonal graph from its edges and vertices data?

I am writing a software and I need to represent an graph in a orthogonal manner from topological data (vector of edges,vertices and their connectivity data) Graphs consist of a set of vertices and a ...
user avatar
  • 283
5 votes
0 answers
321 views

scan line conversion

I am going throug the topic scan line conversion where the scan line parallel to the x-axis is put through the intersection test with all the edges of the polygon. Would there be any large ...
user avatar
  • 1,029
2 votes
0 answers
136 views

Plotting software used in old scientific papers

Does anyone know what software was used in many old scientific papers (please see attached example). I love the clean look of the graph and the typeface. Thanks. Graph example
user avatar
  • 21
2 votes
0 answers
67 views

Vectorizing half tone images

Vectorizing continuous tone images is often met with color palette reduction and visual artifacts. Half-tone images, on the hand, have constant patterns in their tones, which would intuitively lead to ...
user avatar
1 vote
0 answers
80 views

How to do a scanline fill with a self intersecting polygon?

I have a bezier curve and would like to draw it's stroke. To do that, I planned to approximate the stroke to a polygon and fill it with a scanline algorithm. While I feel confident about implementing ...
user avatar
  • 111
1 vote
0 answers
52 views

How to programmatically extract shape types like circle etc from SVG file path attributes

I have paths in SVG file with d attributes with values like M 48.75521890547264 45.77014427860697 Q 48.756218905472636 45.77114427860697 50.24875621890547 45....
user avatar
1 vote
0 answers
211 views

How can I convert a shape made out of pixels to vertices

I'm trying to implement the solution to get the minimum dissection into rectangles of a rectilinear polygon. My shape is made out of pseudo-pixels (different width/height) but for the moment let's ...
user avatar
  • 173
0 votes
0 answers
62 views

How to get world coordinates from a 4X4 camera matrix

I have Intel T265 camera which has a camera coordinates system like following diagram: The camera system has two cameras and the center of the two cameras is the position of the camera system. The ...
user avatar
0 votes
0 answers
64 views

Changing Coordinate Frames with Affine Transformations

Stuck with this questions could I get some help. where uA and vA are two orthonormal vectors indicating the two axes, and oA is the origin. Suppose that all three frames of reference shown in ...
user avatar
0 votes
0 answers
57 views

Mathematics in Computer Graphics

Can you please recommend some topic for research work related to mathematics in CG? (Maybe something like "Affine transformations in CG")
user avatar
0 votes
0 answers
170 views

Non linear transformation of vector graphic

I want to do a non-linear transformation of a svg in python. My specific problem is to transform a rectangular svg image into a frustum like image, for which i have a mathematical equation of the form ...
user avatar