lol how to write canvas libraries 

trying to work out how you are supposed to do this :cirno_sip:

lol how to write canvas libraries 

@icedquinn Line drawing is surprisngly hard (except for the GLSL way where you iterate over every fragment and test if you're "in" the line.)

re: lol how to write canvas libraries 

@swiley hmm theres algorithms for turning polylines in to rectangles. hard part is just capping the edges together.https://ciechanow.ski/drawing-bezier-curves/

re: lol how to write canvas libraries 

@icedquinn Everything in OpenGL other than drawing transformed shadered(?) triangles always has this "oh that's actually deprecated" or "oh it turns out no one implements that (or half the drivers implement it wrong)" attached to it. Or the default behavior is just stupid.
I hate writing stuff in OpenGL so much because of this.

re: lol how to write canvas libraries 

@swiley drawing triangles most definitely not deprecated
Follow

re: lol how to write canvas libraries 

@icedquinn Good because last I checked there's not much left.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.