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.
58 questions
0 votes
0 answers
27 views
Animations turning human hair into cat hair
Things with hair used to be hard in computer science. I wonder whether anyone has come up with a smooth animation that turned human skin hair into cat hair by transforming the distance between the ...
0 votes
0 answers
123 views
How does input assembler works?
Pre- Assume we just use triangles as primitives. So I have a very big confusion. Using a camera, we capture some part of the real world 3d object, for example, a scenery with mountains and land, or ...
1 vote
1 answer
104 views
Curvilinear triangle grid
I'm trying to figure out how the Adobe Illustrator's Inflate effect works. Basically, it converts a vector graphics object to a 3D mesh and displaces its vertices proportionally to how far they are ...
2 votes
0 answers
124 views
How do freehand vector drawing tools typically decide where to place the control points?
I'm devising an algorithm to take a freehand curve and make a bezier spline from it. I can do this already just fine, but it's a naive implementation that creates about as many bezier curves as there ...
0 votes
2 answers
342 views
Relative coordinates -- cumulative sum
I have a vertex shader happily producing all the vertices I want for a 2D plot. Now I want to also render a plot of the same data, but each point relative to the previous one, like SVG Paths using <...
1 vote
0 answers
109 views
How to encode UTF inside an Encapsulated PostScript
Twenty years ago I made a descriptive illustration program whose output was the industrial standard Encapsulated PostScript, which is also compatible with the LaTeX system. In order to write accented ...
-1 votes
1 answer
1k views
Is a line drawn using vectors, triangles or polygons within OpenGL? [closed]
Trying to understand how OpenGL generates what is seen as images & graphics and these questions come up. Are 3D lines (which should be drawn using vectors) drawn using triangles or polygons? Or ...
0 votes
0 answers
132 views
How to programmatically extract all rectangle shapes from SVG file?
I have a SVG which contains rectangles with other shapes. How can I extract all rectangle details(co-ordinates, height and width)? Find below svg details where I kept only one rectangle for reference. ...