vector-graphics

Displaying vector graphics in a browser

I need to display some interactive (attaching with DOM listeners etc. and event handling) vector graphics in web site I am working on. There is a W3C recommendation for SVG though this format is still not recognized by Internet Explorer support of which is a must (for a public website). IE handles VML though and there are even javascript...

Point Sequence Interpolation

Given an arbitrary sequence of points in space, how would you produce a smooth continuous interpolation between them? 2D and 3D solutions are welcome. Solutions that produce a list of points at arbitrary granularity and solutions that produce control points for bezier curves are also appreciated. Also, it would be cool to see an itera...

Interactive SVG - Learning Resources?

Has anyone any reources for learning how to implement SVG with php/mysql (and possibly with php-gtk)? I am thinking of making a top-down garden designer, with drag and drop predefined elements (such as trees/bushes) and definable areas of planting (circles/squares). Gardeners could then track over time how well planting did in a certain ...

Draw shapes or images on a curved path

I am looking for a drawing library or code examples to draw images or vector shapes repeated along a path which could be curved. I found a cocoa library which is what I am looking for http://apptree.net/drawkitmain.htm but for .NET. ...

Formats for Saving Vector-based 3D Graphics

I have written a vector-based 3D editor (UI customized somewhat like technical drawings). I now want save the vectors/drawing data in portable formats. Which formats are available; which (one?) of them are the most widely accepted, and where can I get hold of the format specifications? ...

Recommendations for converting raster images to vector graphics

If a person is looking to batch convert a large number of raster images into vector graphics, are there any tools out there that do that well? For an example, think of just about any diagram that has standard shapes (ellipses, rectangles) and text. ...

Linear algebra for graphics in C

I'm developing software that writes to a tiny LCD screen (less than 1" x 1"). I've got all the usual suspects - lines, filled polygons, fonts, etc. I remember, however, learning how to do fun vector manipulation in linear algebra many moons ago, and creating rotating wireframe objects. I'd like to do that again, but figured there must...

Is it possible to add SVG images to a web page through CSS?

I just started experimenting with SVG in web pages, and I discovered that it is only possible to add SVG images into HTML using <object /> tags, not <img /> like I would have expected. Most of the time, I add graphics to web pages through CSS because they are part of the presentation of the site, not the content. I know it is possible t...

Fast library to replace CDC vector graphics

I have a mature MFC C++ application that displays on screen and prints using CDC wrappings on the Win32 GDI. While it has been optimized over the years, I would like to replace it with something a bit faster. The graphics included rendered triangular surface models, complex polylines and polygons, and lots of text. It needs to meet th...

.Net CAD vector graphics library

What is a good .Net vector graphics library that can be used for CAD like applications, and has a reasonable set of features specific for this type of applications, like computational functions (area, lengths, boolean shape operations etc). One good solution would be to use WPF as it's vector graphics based, but it's very much UI orient...

How can I create EPS files in C#?

How can I create EPS files in C#? Are there any opensource libraries available or do I have to resort to the spec and do it by hand? ...

How do they draw the charts/graphs on stackoverflow?

I spent ages learning VML and creating charts for a website once, but since VML only works in Internet Explorer, it's not much good these days. I notice stackoverflow has graphs on my profile page, under 'reputation', but I wasnt able to see how they did it. Can anyone suggest a way to create client-side charts or diagrams, that work i...

What image-editor or library produces an easy-to-use 2D vector format describing areas / masks?

Step 1) Administrative / data entry worker opens ?, loads raster image, and using a 'lasso-like' tool (a la Photoshop 'magnetic' if possible) specifies areas of interest / masks. Step 2) ? Step 3) Profit! (i.e., application opens raster image, vector file describing masks, does interesting stuff to areas of interest based on runtime ...

How do I place/scale a XAML graphic in my application?

I'm working on a simple application to start learning my way around WPF. I created a vector graphic in Microsoft Expression Design at 400px by 400px, mainly because I thought it would be easier to create it on a bigger canvas. I've exported the image to a XAML file as a series of objects within a 400px square canvas. All of the child ob...

Using a XAML vector image as a window icon

LearnWPF.com posted this article about converting bitmap images to XAML and using them in your applications. The outer element of the XAML image is a Canvas. However, the Window.Icon property only accepts an ImageSource object. Does anyone know how I can 'wrap' the Canvas in an ImageSource so I can use it as a window icon? Alternativ...

vector drawing canvas in GWT

Are there are decent implementations of a vector graphics canvas in GWT? I would like to be draw arbitrary shapes and have them react to user input (mouse in/out/click/etc). There are wrappers for the HTML canvas, but that feature is not supported in older browsers (read: IE). ...

Silverlight tutorial of Cartman

Few months ago, I have came across a Silverlight tutorial of Eric Cartman (South Park). Which used the vector image from http://en.wikipedia.org/wiki/File:Eric.svg to animate him. However, I cannot seem to find that tutorial any longer. Can someone point me in the right direction, please? ...

What is a good vector library for Cocoa or Cocoa-touch?

I'm looking for a good vector library for displaying animated graphics on the iPhone. Something that could possibly display SVG. Anyone have any ideas or insights? ...

How to create vector graphics and then generate icons from them?

For a Website I'm developing, I will need to create some graphics. I haven't yet locked in sizes so I didn't want to generate image files (PNG, GIF, JPG) directly in case I change my mind after I get further along with layout and UI to see what works and what doesn't. This got me thinking: perhaps I should generate them as vector graph...

Vector graphics in Javascript?

One of the advantages of Flash/Flex is that you can use vector graphics (SVG), which is nice. I did a bit of searching around and came across this Javascript vector graphics library. It's pretty simple stuff but it got me thinking: is there any possibility of using vector graphics files such as SVG with Javascript/HTML or it just can't...