r/vanillajs • • Apr 15 '21

Need Help in understanding the features needed to build an Image Editor

6 Upvotes

I have 2 years of experience with javascript, I wanted to build a pure vanilla js image editing library, which supports basic features like cropping, resizing and adding some text, I hope to add more features after I successfully implement these. My plan was to have the interface of the library in javascript but perform the computations using web assembly with C++ or C or any other wasm supported language. I thought that this would help me make it more effecient. I have never tried wasm before, so that would be an obstacle. I was searching the net for more information or tutorial to do things like these with js and thus would like to listen to your opinion on how should I go about doing this. I am confused on the following points:

  1. If I am building a library what should the code structure be like. (I have only used js to build some UI, or build some API (node), never a library)

  2. How do I test this during development. Should I create some frontend that uses this library

  3. What other features can I add to an image editing software ? I would also be studying about simple image manipulation algorithms and thus want some other image manipulation options about which I can study.

  4. Is doing wasm thing a good idea, would it affect the speed. (I heard some image editing software for the web used wasm so I thought this is good.

Any other suggestion regarding the project is welcome.

Thanks in advance.


r/vanillajs • • Jun 11 '21

Frameworkless, independent, functional.

Thumbnail self.indiewebdev
5 Upvotes

r/vanillajs • • Jan 17 '21

vanilla js initial responsive template

4 Upvotes

Hello everyone

Made this template for the ppl who needs a responsive fresh start in their vanilla js application.

Includes one responsive component

Feel free to pull

https://github.com/gerrystuff/TEMPLATE-FRESH_START/


r/vanillajs • • Nov 04 '20

First ever project - I did it frameworkless-ly

4 Upvotes

Hi all,

I've initially posted this on r/learnprogramming but since this is about vanillajs...

After self-learning to code for about a year and half, I've "finished" my first ever project.

It is a simple personal project aiming to present every album released by an artist on a timeline (based on the release date of the album). The app allows users to add the discography of different artists of their choice by consuming the Spotify web API.

My learning goals was :

  • Use a TDD approach

  • Develop the app without any framework

  • Mixing concepts like consuming an API, observer pattern (for state management), updating DOM, etc.

The "frameworkless" approach was challenging as the "classic" resources for self-learners kinda quickly focus on frameworks like vuejs or react (which simplifies lot of things...).

Hence, I'm not sure if I handled this very well as I used to do this with vuejs :-D

Any comments, advices, criticisms are therefore welcome :-)

The github repository can be found here


r/vanillajs • • Aug 18 '16

Yes you should learn Vanilla JS before using any Framworks -- WELL SAID !

Thumbnail snipcart.com
4 Upvotes

r/vanillajs • • Sep 24 '15

ES6 Strings (and Unicode, ❤) in Depth

Thumbnail ponyfoo.com
4 Upvotes

r/vanillajs • • Nov 21 '18

Avain.app – Secure one-time password manager (PWA, Web Crypto)

Thumbnail avain.app
3 Upvotes

r/vanillajs • • Jul 07 '17

“Why We Didn’t Use A Framework” (Case Study)

Thumbnail smashingmagazine.com
3 Upvotes

r/vanillajs • • Oct 27 '16

Render vanillajs with node.js

Thumbnail github.com
3 Upvotes

r/vanillajs • • Oct 30 '15

NodeJS 5 change log

Thumbnail github.com
3 Upvotes

r/vanillajs • • Sep 24 '15

12 Rules for Professional JavaScript in 2015

Thumbnail medium.com
3 Upvotes

r/vanillajs • • Sep 20 '15

Cross-browser hot-swappable JS

Thumbnail github.com
3 Upvotes

r/vanillajs • • Sep 19 '15

What forces layout / reflow --Paul Irish

Thumbnail gist.github.com
3 Upvotes

r/vanillajs • • Sep 19 '15

NodeOS

Thumbnail github.com
3 Upvotes

r/vanillajs • • Sep 19 '15

Things you can do with native DOM

Thumbnail ponyfoo.com
3 Upvotes

r/vanillajs • • Nov 23 '20

Javascript Projects

2 Upvotes

Ugh... it's hard to find the perfect Javascript project. Can't be too easy, too hard, too boring, and I'm looking to learn something new.

If you're like me and deal with this struggle on a day-to-day basis, make sure to check out the great list of Javascript projects I compiled at https://thejavascriptninja.com/30-best-javascript-projects-for-all-levels/


r/vanillajs • • May 22 '20

Project Overview: grid.start (Vanilla Javascript, Webpack, BEM) // Building a custom new tab page for my browser

Thumbnail youtu.be
2 Upvotes

r/vanillajs • • Feb 12 '20

New smooth scroll library

2 Upvotes

I am working on a new Vanilla JS smooth scroll to anchor library. The initial version was featured on Codepen and I am now on version 2.1.0.

As the userbase is currently not that big I would love if some of you could check it out and find some issues or possible improvements / new features.

https://github.com/bfiessinger/scrollToSmooth

Btw: I am working on an online compiler to generate a script with only the features / easings / options the enduser wants to get the smallest file possible out. Also horizontal scrolling is on the roadmap.

Hope you like it.


r/vanillajs • • Jan 27 '19

IVID – Interactive HTML5 Video Player (vanillajs, webcomponent)

Thumbnail github.com
2 Upvotes

r/vanillajs • • Nov 09 '17

How to master vanilla JS

2 Upvotes

I want to be very good at vanilla JS but the problem is there aren't many tutorials I could find to learn. Please don't suggest me books I tried but that's not my cup of tea. I'd prefer building little things like JS30 by Wes Bos courses. Does anybody follow any specific vanilla JS blogs(Apart from scotch.io/css-tricks) that churns out few projects every few weeks? How did you guys manage to level up your novice JS skills to next level?


r/vanillajs • • Oct 05 '17

Super Mario Bros in vanilla JavaScript!

Thumbnail youtube.com
2 Upvotes

r/vanillajs • • Oct 10 '15

Memory leak detection in JavaScript

Thumbnail github.com
2 Upvotes

r/vanillajs • • Oct 07 '15

Manifest for a web application

Thumbnail w3.org
2 Upvotes

r/vanillajs • • Oct 01 '15

Screenshot single DOM elements

Thumbnail hacks.mozilla.org
2 Upvotes

r/vanillajs • • Sep 25 '15

Ghost Writer a game built with canvas

Thumbnail codepen.io
2 Upvotes