Comments (2)
If you want to replicate suck effect exactly, then the answer is no, since genie effect keeps the top and bottom edge parallel (when animating up and down) and Apple's suck effect makes a dent at the center of top edge. However, if you can live without this feature than you can change the shape of enclosing Bezier curves by modifying c1
and c2
control points inside bezierAxisIntersection
function to make it look as you want. Exact calculations are left as an exercise to the reader.
from bcgenieeffect.
Thx, when I have time I will look into it!
from bcgenieeffect.
Related Issues (16)
- Support : How can i apply this effect to a UITableViewCell HOT 1
- Problems with camera HOT 2
- SIGABRT inside bezierAxisIntersection on iPhone 4S (iOS 5.1.1) HOT 2
- I've just catched Assertion failed: (t >= 0 && t <= 1.0) HOT 1
- iOS 5.0 requirement HOT 1
- Major memory crashes when using this nice animation HOT 5
- Section Header above Genie animation HOT 4
- Vertical ScrollView
- Question: Is it safe to use on iOS5.0? HOT 2
- Crash in UIView(Genie) transformationsForSlices:edge:startPosition:totalSize:firstBezier:secondBezier:finalRectDepth:
- for Swift 3.x ?
- Great control! but how to make it works on ios4.3 HOT 2
- Please make Cocoapods podspec HOT 1
- Conflict with GPUImage library HOT 6
- Is it possible to use this as a UIStoryboardSegue / UIViewController transition? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bcgenieeffect.