All Projects → kibotu → Parallaxscrollingview

kibotu / Parallaxscrollingview

Licence: apache-2.0
Parallax scrolling either by offset or automatically.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Parallaxscrollingview

Viewpagertransition
viewpager with parallax pages, together with vertical sliding (or click) and activity transition
Stars: ✭ 3,017 (+3215.38%)
Mutual labels:  viewpager, parallax
momentum
Track movement and basic events with CSS custom properties
Stars: ✭ 19 (-79.12%)
Mutual labels:  parallax, scrolling
Perspective
Powerful scrolling and motion parallax for iOS
Stars: ✭ 260 (+185.71%)
Mutual labels:  scrolling, parallax
Paroller.js
Parallax scrolling jQuery plugin
Stars: ✭ 535 (+487.91%)
Mutual labels:  scrolling, parallax
Vue Parallax
🌌 Vue.js component for parallax image scroll effects
Stars: ✭ 569 (+525.27%)
Mutual labels:  scrolling, parallax
Viewpagertransformer
Viewpager动画,包括渐变,旋转,缩放,3D,立方体等多种酷炫效果动画,实现原理是自定义ViewpagerTransformer,当然你也可以自定义多种动画
Stars: ✭ 62 (-31.87%)
Mutual labels:  viewpager, parallax
Verticalviewpager
Vertical View Pager Scroll page in upward and downward direction. To know more See README.
Stars: ✭ 33 (-63.74%)
Mutual labels:  viewpager, scrolling
Materialviewpager
A Material Design ViewPager easy to use library
Stars: ✭ 8,224 (+8937.36%)
Mutual labels:  viewpager, parallax
Androidanimationexercise
Android 动画各种实现,包括帧动画、补间动画和属性动画的总结分享
Stars: ✭ 1,254 (+1278.02%)
Mutual labels:  viewpager
Videngine
3D graphics for iOS using Metal and Swift
Stars: ✭ 86 (-5.49%)
Mutual labels:  gpu
Mpr
Reference implementation for "Massively Parallel Rendering of Complex Closed-Form Implicit Surfaces" (SIGGRAPH 2020)
Stars: ✭ 84 (-7.69%)
Mutual labels:  gpu
Waifu2x Ncnn Vulkan
waifu2x converter ncnn version, runs fast on intel / amd / nvidia GPU with vulkan
Stars: ✭ 1,258 (+1282.42%)
Mutual labels:  gpu
Shaderview
A library for simple shader programming
Stars: ✭ 87 (-4.4%)
Mutual labels:  gpu
D2dlib
A .NET library for hardware-accelerated, high performance, immediate mode rendering via Direct2D.
Stars: ✭ 84 (-7.69%)
Mutual labels:  gpu
Parallaxswiftui
Add a motion parallax effect to your SwiftUI views to add some depth to your UI
Stars: ✭ 88 (-3.3%)
Mutual labels:  parallax
Gonvml
NVIDIA Management Library (NVML) bindings for Go
Stars: ✭ 82 (-9.89%)
Mutual labels:  gpu
Fornos
GPU Texture Baking Tool
Stars: ✭ 82 (-9.89%)
Mutual labels:  gpu
Recyclerparallax
Android Recycler View with Parallax Effect on each item
Stars: ✭ 90 (-1.1%)
Mutual labels:  parallax
Thundersvm
ThunderSVM: A Fast SVM Library on GPUs and CPUs
Stars: ✭ 1,282 (+1308.79%)
Mutual labels:  gpu
Gatelessgatesharp
Gateless Gate Sharp is an user-friendly yet extremely powerful open-source multi-algorithm miner for Windows operating systems.
Stars: ✭ 86 (-5.49%)
Mutual labels:  gpu

Donation About Jan Rabe

ParallaxScrollingView Hits-of-Code Javadoc Build Status API Gradle Version Kotlin GitHub license androidx

Parallax Scrolling View.

  • automatic scrolling with different speeds
  • minimal integration
  • gpu accelerated
  • supports vector drawables
  • supports bitmap drawables
  • supports ViewPager2
  • argb interpolated gradient on viewpager scrolling
  • updates statusBar color on scroll

Screenshot

How to use

1 add ParallaxScrollingView to your layout

<net.kibotu.parallaxscrollingview.ParallaxScrollingView
    android:id="@+id/wave1"
    app:layout_constraintBottom_toBottomOf="parent"
    app:layout_constraintEnd_toEndOf="parent"
    app:layout_constraintStart_toStartOf="parent"
    app:speed="@dimen/wave1_speed"
    app:src="@drawable/ic_wave"
    android:layout_width="0dp"
    android:layout_height="wrap_content" />

2 (Optional) add ParallaxScrollingViewOnPageScrollListener) to ViewPager2

viewPager.registerOnPageChangeCallback(ParallaxScrollingViewOnPageScrollListener(listOf(wave1, wave2, wave3, wave4, wave5, wave6), 2f))

3(Optional) add OffsetOnPageScrollListener to ViewPager2

viewPager.registerOnPageChangeCallback(OffsetOnPageScrollListener(this, root, items.indices.map { backgrounds[it] }, true))

How to install

repositories {
    maven {
	url "https://jitpack.io"
    }
}

dependencies {
    implementation 'com.github.kibotu:ParallaxScrollingView:-SNAPSHOT'
}

Notes

Follow me on Twitter: @wolkenschauer

Let me know what you think: [email protected]

Contributions welcome!

License

Copyright 2019 Jan Rabe

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
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].