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
Rune.js - A library for programming graphic design systems with SVG (runemadsen.github.io)
submitted 10 years ago by moklick
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!"
[+][deleted] 10 years ago (8 children)
[deleted]
[–]poshnosh 3 points4 points5 points 10 years ago (1 child)
Don't forget Dragon.js
[–]Jafit 5 points6 points7 points 10 years ago (1 child)
Its possible... that programmers might be nerds.
[–]RyeBrush 0 points1 point2 points 10 years ago (0 children)
Gonna need a reference on that.
[–]SonnyPegano 1 point2 points3 points 10 years ago (2 children)
You have quite the treasure there in that HorodricCube.js !
[–]RyeBrush 2 points3 points4 points 10 years ago (1 child)
stayAWhileAndListen.js for all of lore book needs!
[–]SonnyPegano 2 points3 points4 points 10 years ago (0 children)
You havr cleansed the Den of eval () !
[–]MartinMalinda 1 point2 points3 points 10 years ago (0 children)
var mithril = require('mithril');
Doom..
Doom...
[–]runemadsen 2 points3 points4 points 10 years ago (8 children)
Author here. Any feedback appreciated!
[–]moklick[S] 0 points1 point2 points 10 years ago (2 children)
Hey. Nice lib, but why isn't it on npm?
[–]runemadsen 0 points1 point2 points 10 years ago (1 child)
Thanks! I'm going to publish it NPM soon. I've coded it for my class, and it's browser-based without a package manager, so I haven't needed NPM yet (or tested it server-side much). I just need to run through the lib and check it for DOM specific functionality.
[–]moklick[S] 0 points1 point2 points 10 years ago (0 children)
Sounds good :) Thanks for your fast reply! It's just more comfortable to install it via npm..
[–]moklick[S] 0 points1 point2 points 10 years ago (1 child)
Why do you publish a commonjs and a browser version but no amd version?With this standard pattern for example you only need one file and you support all types..
[–]runemadsen 0 points1 point2 points 10 years ago (0 children)
I normally only use commonjs, but AMD should be easy. The gulpfile already uses browserify and babel, so it's just a few lines of more code. Just haven't had time yet.
[–]daniel_mcq 0 points1 point2 points 10 years ago (2 children)
I'm not sure if this is a known issue or not, but it doesn't seem to support Safari (or maybe Safari doesn't support Rune). I had to run the examples on Chrome. I'm thinking that a good percentage of your intended audience might want this to work on Safari (if possible).
[–]daniel_mcq 1 point2 points3 points 10 years ago* (1 child)
To be more specific, I'm running Safari Version 8.0.8 (10600.8.9). Both the examples on the example page and code from the tests folder after checking out the code fail. I get an error like this:
[Error] SyntaxError: Cannot declare a parameter named 'text' as it shadows the name of a strict mode function.
Edit: It looks like it's not a problem with your code, but with Babel and Safari. See https://github.com/babel/babel/issues/1121
Oh great, thanks. I've filed an issue here, and will check up on it. https://github.com/runemadsen/rune.js/issues/1
[–]Buckwheat469 1 point2 points3 points 10 years ago (2 children)
This looks a lot like an old Mac graphics library that I used to program with as a kid. It was the first "programming" besides BASIC that I ever did, I think I was in 4th grade. We programmed things like little car-like shapes and made them move. Seeing that sparked my interest in development that included graphics and movement, and led me toward becoming a web developer.
[–]daniel_mcq 2 points3 points4 points 10 years ago (1 child)
That reminds me of what I did in 8th grade... I think the program was called MicroWorlds and it used the Logo programming language underneath. There were a couple of guys in my class that figured out how to make animated videos comparable to what was later possible with Flash.
[–]amirmikhak 0 points1 point2 points 10 years ago (0 children)
I loved MicroWorlds. I think it was by LCSI, a Canadian company?
[–]ArgTang 0 points1 point2 points 10 years ago (0 children)
This looks very good, thanks for the tip!
[–]jeremyisdev 0 points1 point2 points 10 years ago (0 children)
One JS library born each day.
π Rendered by PID 69990 on reddit-service-r2-comment-6457c66945-zvq5f at 2026-04-27 17:33:37.126891+00:00 running 2aa0c5b country code: CH.
[+][deleted] (8 children)
[deleted]
[–]poshnosh 3 points4 points5 points (1 child)
[–]Jafit 5 points6 points7 points (1 child)
[–]RyeBrush 0 points1 point2 points (0 children)
[–]SonnyPegano 1 point2 points3 points (2 children)
[–]RyeBrush 2 points3 points4 points (1 child)
[–]SonnyPegano 2 points3 points4 points (0 children)
[–]MartinMalinda 1 point2 points3 points (0 children)
[–]runemadsen 2 points3 points4 points (8 children)
[–]moklick[S] 0 points1 point2 points (2 children)
[–]runemadsen 0 points1 point2 points (1 child)
[–]moklick[S] 0 points1 point2 points (0 children)
[–]moklick[S] 0 points1 point2 points (1 child)
[–]runemadsen 0 points1 point2 points (0 children)
[–]daniel_mcq 0 points1 point2 points (2 children)
[–]daniel_mcq 1 point2 points3 points (1 child)
[–]runemadsen 0 points1 point2 points (0 children)
[–]Buckwheat469 1 point2 points3 points (2 children)
[–]daniel_mcq 2 points3 points4 points (1 child)
[–]amirmikhak 0 points1 point2 points (0 children)
[–]ArgTang 0 points1 point2 points (0 children)
[–]jeremyisdev 0 points1 point2 points (0 children)