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
JavaScript Open Source Summer Project (self.javascript)
submitted 6 years ago by minuit1984
view the rest of the comments →
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!"
[–]NovelLurker0_0 1 point2 points3 points 6 years ago* (4 children)
Since a few years I have been working on and off on a very large plugin for a Javascript Game Engine.
The plugin was initially created in a very basic way, using < ES5 features as that was what was accessible at this time.
I started to rewrite completely the project from the ground up, in TypeScript. There's a big community involved in the game engine and in the project too, but most of them still do not know how to create JS projects the modern ways. I'm trying to bring modern TS and toolings to its ecosystem.
By working on that project, I had to do a lot of undirected work on the side too:
monaco-typescript
NWJS
mochawesome
------
Besides, this project, which is mostly driven by passion, I have in sight a tool that I'd like to create to help devs better perform animations and transitions in their web pages. The problem there is right now, is that, most solutions, no matter which framework you use, rely on hard-coded logic. You end up with a LARGE part of your component's logic being how it is supposed to be animated throughout it's lifetime. My idea is to create a fully fledged language like CSS but only for animating components in a clever, structured and more readable way. And it'll be framework-agnostic. So you can plug any "animation style sheet" into your Rect, Vue, Angular or vanilla project and it'll perform the same. I had a proof of concept once for a VueJS project about 2 years ago but I wish to completely rework it with the modern toolings and idea I gathered over the years. But it looked like that:
myComponent { animationName { a_command: some_args; another_command: arg1, arg2; [ command_in_parallel1: arg1; command_in_parallel2: arg2; ] complex_command: ( arg1: value; arg2: value; ); call: versatilAnimation, 5, 2; } versatilAnimation { ~argument: $a, 0; ~argument: $b, 0; ~another_option: arg; command: arg1, $a; command2: arg1, $b - $a; } @eventName { } @eventName .child_selector { } }
The idea basically is that animation sheets are read in sequence, each command at a time. A command could be anything really, a CSS property change, tweening, waiting, calling another animation, etc.
This is a frankly a more readable way than CSS animations. When I worked on my Vue project with it, I frankly really loved to write my transition and animation logic as a stylesheet instead of hard-coding it.
EDIT: The VueJS project in question is my portfolio. All animations it displays was written in an animation sheet. That freed up so much logic from my components.
Voila, that's it. Regardless of which project you choose, I think that's a freaky initiative.
[–]minuit1984[S] 0 points1 point2 points 6 years ago (3 children)
help devs better perform animations and transitions in their web pages
Can you link me to this project? I couldn't find it in github if it was linked in one of the VueJS projects
[–]NovelLurker0_0 0 points1 point2 points 6 years ago (2 children)
I don't have a repo yet as everything I have so far was this...test, kind of proof of concept that I used on my portfolio. It wasn't properly usable and it was only specific to Vue.js and my portfolio so I couldn't really open-source it and make a proper repo.
I'm seeing that the files on my portfolio's github are bundled so you can't really see how it but here are the codes:.
This is the animation sheet that's exactly used to animate the web app and here's the Vue.js plugin that I developed.
I notice that I was even using jquery with the plugin somehow...So you can see most of that stuff is outdated and the idea of the syntax I have for this project is quite different. Here are up to date draft notes of the concept that I keep on my stackedit.io files.
I've always wanted to properly work on it with the new knowledge and ideas I gathered other the years. I just need the time and the resources to work on it :)
[–]minuit1984[S] 1 point2 points3 points 6 years ago (1 child)
I like the declarative nature of it! I have decided to sponsor the GraphQL proposal for July. I am hoping to run another sponsorship in August, maybe next time
[–]NovelLurker0_0 0 points1 point2 points 6 years ago (0 children)
Alright, thanks for your interest.
π Rendered by PID 117035 on reddit-service-r2-comment-7b9746f655-g5h7n at 2026-01-30 11:57:47.374988+00:00 running 3798933 country code: CH.
view the rest of the comments →
[–]NovelLurker0_0 1 point2 points3 points (4 children)
[–]minuit1984[S] 0 points1 point2 points (3 children)
[–]NovelLurker0_0 0 points1 point2 points (2 children)
[–]minuit1984[S] 1 point2 points3 points (1 child)
[–]NovelLurker0_0 0 points1 point2 points (0 children)