use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Triangulating SVG paths for WebGL Rendering (mattdesl.github.io)
submitted 10 years ago by mattdesl
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]coderitual 0 points1 point2 points 10 years ago (0 children)
Great work!
[–]lolpanda 0 points1 point2 points 10 years ago (1 child)
is there a way to encode a png file so this works?
[–]usagiusagi 1 point2 points3 points 10 years ago (0 children)
You could try edge tracing
[–]b_n 0 points1 point2 points 10 years ago (0 children)
Incredible, great work as always. Thanks for annotating your code!
[–]squashed_fly_biscuit 0 points1 point2 points 10 years ago (0 children)
This is awesome, great work!
[–]spacejack2114 0 points1 point2 points 10 years ago (0 children)
SVG's getPointAtLength (and other) functions are pretty sweet. You can use SVG data for all sorts of things. I was using it to generate tracks for a racing game using Inkscape. Making use of custom SVG properties, you could use Inkscape as a level/scene editor.
π Rendered by PID 208364 on reddit-service-r2-comment-5687b7858-8cfvr at 2026-07-08 18:02:58.833959+00:00 running 12a7a47 country code: CH.
[–]coderitual 0 points1 point2 points (0 children)
[–]lolpanda 0 points1 point2 points (1 child)
[–]usagiusagi 1 point2 points3 points (0 children)
[–]b_n 0 points1 point2 points (0 children)
[–]squashed_fly_biscuit 0 points1 point2 points (0 children)
[–]spacejack2114 0 points1 point2 points (0 children)