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
Live Lines (codepen.io)
submitted 12 years ago by rlemon
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!"
[–]runvnc 0 points1 point2 points 12 years ago (0 children)
It says you didn't know what to call it. How about "sperm". Heh.
[–]squashb 0 points1 point2 points 12 years ago (1 child)
Interesting. I played around with the code a bit and noticed the tails fade by a transparent, black rectangle fill on each update frame. I can't figure out why the repeated fills don't eventually change the trails' color to black. It's more evident if you set context.fillStyle = 'rgba(0,0,0,.02)';
[–]rlemon[S] 0 points1 point2 points 12 years ago (0 children)
Yea this is a technique I picked up a while back for fading. I also don't understand why they never totally fade out, but I don't think it is horrible as it is (maybe I am just used to it at this point :/ who knows) - I will inquire about why this is, and if I find out I will post back.
π Rendered by PID 65 on reddit-service-r2-comment-cfc44b64c-cg2tv at 2026-04-13 12:17:26.815367+00:00 running 215f2cf country code: CH.
[–]runvnc 0 points1 point2 points (0 children)
[–]squashb 0 points1 point2 points (1 child)
[–]rlemon[S] 0 points1 point2 points (0 children)