Does anyone have a recommendation of a library for creating graphics with an API similar to the DOM Canvas API in JavaScript?

Ideally I'd like to be able to efficiently access raw pixel data as well as high-level shapes like circles & rectangles. No need for fancy shader black magic.

Output targets would ideally be: screens and files.

@kornel Thanks! I see Servo uses it as its Canvas backend, should have thought of that.

Sign in to participate in the conversation
LGBTQIA+ Tech Mastodon

*Due to increased bot signup, manual approval is temporarily required. Please write some applicable request text on signup.*

This Mastodon instance is for tech workers, academics, students, and others interested in tech who are LGBTQIA+ or Allies.

We have a code of conduct that we adhere to. We try to be proactive in handling moderation, and respond to reports.

We're not a free speech absolutist, and there are instances available for that. We're not interested in Nazis, TERFS, or hate speech of any sort, which we will define at our sole discretion as moderators.

This instance is meant to be a friendly, welcoming space to all who are willing to reciprocate in helping to create that environment.

This instance is funded in part by Patreon donations.