I want to create a 2D vector engine/rasterizer/runtime/whatever. The point is, I want to…
- User
I want to create a 2D vector engine/rasterizer/runtime/whatever. The point is, I want to have a program, that can show me nice, animated vector 2D graphics. And that graphics will be coming from some sort of data file. I am not bound by any compatibility requirements, i.e. I don't have to support SVG or some other format. I can decide to do it, but I can also freely ignore any existing formats and frameworks, as long as that meets my goals/requirements. And my goal is simple, it is stated above. And my requirements are: the project should have few-to-zero dependencies, and the format used should be simple. As long as it allows me to encode animated, colorful 2D vector graphics, and as long as the program can display that nicely and quickly on-screen, it is good enough.
So, with these points in mind, what are your thoughts? I am totally up for implementing my custom format. But what are some things to keep in mind? If this program is to be reused in a bigger project (e.g. as part of a game engine, or vector editing software, or standalone animation player for my files), what should be its API, so that it is easy to integrate and work with, and still performs well and delivers on the performance promises?
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.