All Projects → 123hurray → bezier-editor

123hurray / bezier-editor

Licence: other
A tool base on HTML5 canvas to create bezier curve like photoshop and then it can be exported as JavaScript code to create an animation path for an HTML element.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to bezier-editor

Elixir cli spinners
Spinnig Animations for Command Line Applications
Stars: ✭ 117 (+457.14%)
Mutual labels:  animation-library
Lazy Line Painter
Lazy Line Painter - A Modern JS library for SVG path animation
Stars: ✭ 1,918 (+9033.33%)
Mutual labels:  animation-library
React Liquidswipe
🚀 Smooth Liquid Swipe Animation to transition between different components.
Stars: ✭ 245 (+1066.67%)
Mutual labels:  animation-library
Vivify
Vivify is free CSS animation library.
Stars: ✭ 1,651 (+7761.9%)
Mutual labels:  animation-library
Imageframe
高效省内存播放序列帧动画控件
Stars: ✭ 147 (+600%)
Mutual labels:  animation-library
Flutter spinkit
✨ A collection of loading indicators animated with flutter. Heavily Inspired by http://tobiasahlin.com/spinkit.
Stars: ✭ 2,411 (+11380.95%)
Mutual labels:  animation-library
Sunset.css
This library offers a collection of different CSS-powered transitions.
Stars: ✭ 99 (+371.43%)
Mutual labels:  animation-library
generativepy
Library for creating generative art and maths animations
Stars: ✭ 70 (+233.33%)
Mutual labels:  animation-library
Fat
Web's fastest and most lightweight animation tool.
Stars: ✭ 157 (+647.62%)
Mutual labels:  animation-library
Android Animation Set
📚 Android 所有动画系列详尽教程。 Explain all animations in Android.
Stars: ✭ 2,452 (+11576.19%)
Mutual labels:  animation-library
Geckolib
GeckoLib is an animation library for Minecraft Mods, with support for complex 3D keyframe and scriptable math-based animations. Available for Forge and Fabric (1.12, 1.15, 1.16). Supports entity, block, item, armor animations and more.
Stars: ✭ 131 (+523.81%)
Mutual labels:  animation-library
Donut
Donut is a library for arranging views circularly like a donut.
Stars: ✭ 141 (+571.43%)
Mutual labels:  animation-library
Animatable Component
Animate once, use Everywhere! 💫
Stars: ✭ 188 (+795.24%)
Mutual labels:  animation-library
Typewriterview
Android library for typewriter like effects
Stars: ✭ 124 (+490.48%)
Mutual labels:  animation-library
phaser3-plugin-pathbuilder
Draw and edit Lines, Bezier Curves, Splines at runtime, explore your scene and export your paths to Phaser
Stars: ✭ 67 (+219.05%)
Mutual labels:  bezier-curves
Loading indicator
🚅Flutter out-of-the-box collection animations written in pure dart.
Stars: ✭ 102 (+385.71%)
Mutual labels:  animation-library
Haskellspritekit
Haskell binding to Apple's SpriteKit framework
Stars: ✭ 165 (+685.71%)
Mutual labels:  animation-library
SwiftUI-bez
Utilities for working with bezier curves in SwiftUI
Stars: ✭ 80 (+280.95%)
Mutual labels:  bezier-curves
react-animated-router
Dynamic transitions with react-router(v6) and react-transition-group
Stars: ✭ 52 (+147.62%)
Mutual labels:  animation-library
Babypiganimation
基本动画、位移动画、缩放动画、旋转动画、组动画、关键帧动画、贝塞尔曲线、进度条动画、复杂动画、OC动画、aniamtion、basicanimation等。
Stars: ✭ 192 (+814.29%)
Mutual labels:  animation-library

bezier-editor

Introduction

It's a tool base on HTML5 canvas that allows you to create bezier curve like photoshop and then it can be export as JavaScript code to create an animation path for an HTML element.

How To

  1. Open index.html and draw bezier curve in canvas like using Photoshop.

  2. Click "Export" to get the JavaScript code.

  3. Create your own HTML file and include jQuery Library :

<script type="text/javascript" src="jquery.js"></script>
  1. And include bezier-animation.js :
<script type="text/javascript" src="bezier-animation.js"></script>
  1. Paste the code you just got in another script tag. Don't forget to add the element selector. Here is an example :
  <script type="text/javascript">
   $('#test').stop()
   .animate({path:new bezier({start: [78, 196],c1:[237, 133],end: [306,252],c2:[161, 228],})}, 2716.5969158005164 ,"linear")  
   .animate({path:new bezier({start: [306, 252],c1:[451, 276],end: [402,393],c2:[234, 425],})}, 2283.4030841994836 ,"linear");  
  </script>
  1. Enjoy your coding!

To Do

  • Some advanced operation mode in photoshop.
  • Native JavaScript animation support

Questions?

If you have any questions or bugs to report, please send E-mail to [email protected], thx~

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].