Flat, round, designer-friendly pseudo-3D engine for canvas & SVG

Add an actual sphere. #1

open opened by jaromino.com edited

As mentioned in js/shape.js:

 // Safari does not render lines with no size, have to render circle instead 

Some renderers don't like single-point paths with strokes on them. Most do seem to be fine with it, but I've run into a few crappy "SVG to PNG" converters online that won't render them, and Adobe Illustrator refuses to play nice with them, too.

The simplicity of spheres just being the most basic kind of single-point Shape is nice, but I don't think that's ruined by having a sphere just be a circle. Plus that'd open up an opportunity for having separate strokes and fills, and that seems nifty. So let's just render with an SVG circle rather than a path.

sign up or login to add to the discussion
Labels
good-first-issue
assignee

None yet.

Participants 1
AT URI
at://did:plc:pwobb7u5cfav54onoit7zi66/sh.tangled.repo.issue/3mh4yb5l7ab22