All Projects → WelkinXie → Wxwaveview

WelkinXie / Wxwaveview

Licence: mit
Add smooth water waves to your views.

Projects that are alternatives of or similar to Wxwaveview

Unity-Raymarched-Clouds-Simple-Wave
Unity project showcasing clouds volume rendering with raymarching, and a simple coloured wave.
Stars: ✭ 17 (-95.11%)
Mutual labels:  wave
WaveProp in MATLAB
Single-file implementations of 2D and 3D acoustic and elastic wave propagation in time domain using finite-differences(FDTD). Simple formulation and implementation
Stars: ✭ 39 (-88.79%)
Mutual labels:  wave
SIRIWaveView
Siri like wave view for android
Stars: ✭ 65 (-81.32%)
Mutual labels:  wave
react-native-art-wave
A concise water wave animation process view write by React Native Art.
Stars: ✭ 45 (-87.07%)
Mutual labels:  wave
liquid button
Liquify your buttons, web demo at website
Stars: ✭ 18 (-94.83%)
Mutual labels:  wave
waveGeneral
音频解析标注框架
Stars: ✭ 20 (-94.25%)
Mutual labels:  wave
Android-Wave-Recorder
A powerful and efficient library to record WAVE form audio files (WAV) in Android
Stars: ✭ 137 (-60.63%)
Mutual labels:  wave
LCWaveView
Wave effects made using CADisplay and CAShapeLayer.
Stars: ✭ 17 (-95.11%)
Mutual labels:  wave
SimpleWavSplitter
Split multi-channel WAV files into single channel WAV files.
Stars: ✭ 15 (-95.69%)
Mutual labels:  wave
wave
Wave - The Software as a Service Starter Kit, designed to help you build the SAAS of your dreams 🚀 💰
Stars: ✭ 3,646 (+947.7%)
Mutual labels:  wave
wavy
A spectral ocean wave modeling framework
Stars: ✭ 15 (-95.69%)
Mutual labels:  wave
Jamais-Vu
Audio Fingerprinting and Recognition in Python using NVidia's CUDA
Stars: ✭ 24 (-93.1%)
Mutual labels:  wave
audio-metadata
A library for reading and, in the future, writing audio metadata. https://audio-metadata.readthedocs.io/
Stars: ✭ 41 (-88.22%)
Mutual labels:  wave
SwiftyWave
Siri Waves View in Swift
Stars: ✭ 66 (-81.03%)
Mutual labels:  wave
VENTOS Public
VEhicular NeTwork Open Simulator (VENTOS)
Stars: ✭ 46 (-86.78%)
Mutual labels:  wave
JHSoundWaveView
音波图,声波图
Stars: ✭ 22 (-93.68%)
Mutual labels:  wave
easywave
Easy WAVE file handling for Nim
Stars: ✭ 18 (-94.83%)
Mutual labels:  wave
Hgrippleradarview
A beautiful radar view to show nearby items (users, restaurants, ...) with ripple animation, fully customizable
Stars: ✭ 309 (-11.21%)
Mutual labels:  wave
WaveLabelDemo
波浪经过文字,文字改变颜色。Waves pass through words, and words change colours.
Stars: ✭ 58 (-83.33%)
Mutual labels:  wave
Planeverb
Project Planeverb is a CPU based real-time wave-based acoustics engine for games. It comes with an integration with the Unity Engine.
Stars: ✭ 22 (-93.68%)
Mutual labels:  wave

WXWaveView

Add pretty and smooth waves to your views!

The wave can be added to any type of view.

中文说明

e.g.

Integration

Cocoapods:

pod 'WXWaveView'

Or Carthage:

github "WelkinXie/WXWaveView"

How to use

  1. Initialize WXWaveView with method " addToView:withFrame: "

     self.waveView = [WXWaveView addToView:headerView withFrame:CGRectMake(0, CGRectGetHeight(headerView.frame) - 10, CGRectGetWidth(headerView.frame), 10)];
    

    Of course, you can just give CGRectZero to the method above and use Auto Layout to define its frame.

  2. Perform the method wave when you want it to animate.

     [self.waveView wave];
    

That's it!

Customization

  1. The time when the wave lasts. When it is set to zero, the wave will never stop. Default is 1.5.

     self.waveView.waveTime = 0.f;  
    
  2. The color of the wave. Default is white.

     self.waveView.waveColor = [UIColor groupTableViewBackgroundColor];
    
  3. The speed of the wave. Default is 9.

     self.waveView.waveSpeed = 20.f;
    
  4. The angular speed of the wave. Default is 2.

     self.waveView.angularSpeed = 1.8f;
    
  5. You can also stop the wave manually with the method stop whenever you want.

     [self.waveView stop];
    

Recently I find it amusing to make it a loading view :

What will it be depends on your creativity! Have fun :]

Reference

WXWaveView is inspired by KYWaterWaveView. Thanks KittenYang and his contributions.

License

WXWaveView is released under MIT 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].