Konva
GreenSock-JS
Our great sponsors
Konva | GreenSock-JS | |
---|---|---|
30 | 96 | |
10,730 | 18,632 | |
2.4% | 2.2% | |
8.4 | 4.7 | |
19 days ago | 3 months ago | |
TypeScript | JavaScript | |
GNU General Public License v3.0 or later | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Konva
-
How I choose Fabric.js again
Based on this, I found that some of the libraries are dead and no longer have any support. Only two libraries are still alive and have significant amount of stars on GitHub and downloads on NPM. They are Fabric.js and Konva.js.
-
I'm trying to make a Nextjs canva clone for my company
I have been assigned a task to create a sort of a canva clone which will have almost same features as canva with authentication, access control and rating system(not in this phase). I need help in finding libraries similar to https://konvajs.org/ which has updated docs and great support for Nextjs.
-
What is the appropriate webpack loader for the 'canvas' package in a Node.js environment?
I'm currently using konva (& react-konva) package, to utilize it in Node.js enviroment I also need canvas package installed in. However, when running the code encountering this error:
-
Any Ideas How to Create a Graph Builder UI in React?
used goJS in one project and konva in another
-
How to make something like this in react? (video in description)
All the UI part would make sense to do in React. The actual drawing board you likely would need to implement in canvas or SVG. It still could be a React component, but for actual drawing, you'd probably use something like Konva (https://konvajs.org/).
- Interactive web-based system map
-
React: Comparison of JS Canvas Libraries (Konvajs vs Fabricjs)
Konvajs - is an HTML5 Canvas JavaScript framework that enables high performance animations, transitions, node nesting, layering, filtering, caching, event handling for desktop and mobile applications, and much more.
-
Plug Konva events into RxJS
During the development of a complex interactive UI for the configuration of a digital laboratory ecosystem, we were utilizing the Konva.js library. Konva is a wrapper around the HTML canvas that simplifies working with shapes and interacting with the canvas a lot. Everybody dealing with the plain canvas API knows how much code certain tasks require, especially when user interaction with the drawn shapes is required. The most important features Konva offers to me are
-
which technology or framework is used to create geometry-draggable canvas like this?
Konva.js - example
-
I made a website that puts your face on your pet, using Cloud Vision and ML. The results are absurd as they are ridiculous
Have a go at petswitch.com if you wish... I made the original Petswitch almost ten years ago, and it's had mild success since then, including CNET writing an article about it and it receiving the prestigious honour of 'most useless website' in week 41 of 2018, as determined by theuselesswebindex.com. Aside from the obvious question of why I even made this, it was getting pretty creaky β I originally built it with PHP and ImageMagick, with the facial features being manually selected via jQuery UI. So I decided to rebuild the whole thing with a full face-to-pet ML pipeline, on static hosting. To get the human face features, the app renders the upload to a temporary img element. This is a handy way to orient the image correctly via the browser, and saves having to deal with EXIF data. It's then resized, rendered to a canvas element, converted to a base64 string, then sent via fetch to Google's Cloud Vision API, which returns landmark coordinates of the face. I use these coordinates to correct any tilt on the face, mask the eyes and mouth via a mask image, then store each masked element as an additional canvas. Detecting pet faces was trickier. Google, Amazon and Microsoft all offer object detection APIs via transfer learning, and the approach is largely the same: you supply a series of images with bounding boxes around the objects you want to detect, either added via a web interface or uploaded via their API. You train a model online from these supplied images, then the service will return the estimated coordinates of any detected objects in an uploaded image. I found a dataset of both cats and dogs that had been labelled with landmarks on their faces, then wrote a script to convert the landmarks into bounding boxes around their eyes and nose, the dimensions based on a simple formula around the distance between the eyes in each image. All in all it's been trained on about 17,000 images of cats and dogs, and the accuracy seems to be pretty good. I was pleased to discover it actually works pretty well on other pets too. I've also added some friendly pets to the Petswitch family for those that don't have a pet on hand. I decided not to use a framework for this, it's written from scratch using a series of ES6 modules β although I did use Konva to handle the manual selection of facial features if the API can't detect a face. I used ParcelJS as my task runner, and my detection APIs are hosted on Firebase Cloud Functions. Let me know if you have any questions, although I can offer no good explanation for why I created this monstrosity...
GreenSock-JS
- Where the hell do I create these nice animations
-
An Afternoon with SVGs | Frontend Challenge Entry
I've been looking for a small project to do that would let me play with Greensock (GSAP), specifically a bit with some SVG files I generated with Corel Vector. When I saw the frontend challenge and had an afternoon at work with downtime between a few projects, I knew it'd be a great opportunity to explore a bit!
-
A Visual Interactive Guide to Bloom Filters
https://pixijs.com/ and https://gsap.com/. All of the source code for my posts can be found at https://github.com/samwho/visualisations :)
-
How to Add Animations to your React App Using GSAP
The GreenSock Animation Platform (GSAP) is a web animation library that provides the logic for adding animation to any site powered by JavaScript. React, being built on top of JavaScript, falls under this category. GSAP is an extremely fun animation tool to use because it offers a great deal of flexibility, you can animate anything using GSAP β texts, images, scroll actions, SVGs, UI interactions, anything!
-
Implement Smooth Scrolling & Parallax Effect in Next.js using Lenis and GSAP
GSAP (GreenSock Animation Platform)
-
Workflow for creating animated assets
If you want animations look into GSAP
-
3D Card with Embedded Links Using Three.js and Blender
gsap
- Anime.js β A lightweight JavaScript animation library
-
Best Animation Libraries For Reactπ
Green Sock has over 16,400 GitHub stars and 400k weekly NPM downloads.
-
A slick animation from Better Call Saul
I used the Greensock (GSAP) library for the animation.
What are some alternatives?
PixiJS - The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
anime.js - JavaScript animation engine
fabric.js - Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
framer/motion - Open source, production-ready animation and gesture library for React
React Konva - React + Canvas = Love. JavaScript library for drawing complex canvas graphics using React.
aos - Animate on scroll library
react-canvas - High performance <canvas> rendering for React components
velocity - Accelerated JavaScript animation.
p5.js - p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs β
three.js - JavaScript 3D Library.
A-Frame - :a: Web framework for building virtual reality experiences.
animate.css - πΏ A cross-browser library of CSS animations. As easy to use as an easy thing.