GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lequangios/Ripple-Cocos2dx: A ripple effect is a situation in which, like ripples expand across the water when an object is dropped into it, an effect from an initial state can be followed outwards incrementally.

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
Document
Document
 
 
CCRippleSprite.cpp
CCRippleSprite.cpp
 
 
CCRippleSprite.h
CCRippleSprite.h
 
 
README.md
README.md
 
 
_config.yml
_config.yml
 
 
index.md
index.md
 
 

Repository files navigation

Ripple-Cocos2dx

This library was created by Lars Birkemose on 02/12/11 and edited by guanghui on 7/30/13. Now I have custom it for compatible for both cocos2dx version 2x and version 3x. It work well for iOS 8+ and Android 19+

What is a Ripple effect ?

Ripple effect is a situation in which, like ripples expand across the water when an object is dropped into it, an effect from an initial state can be followed outwards incrementally.

There is really nothing special to the ripple effect, in essence it is just an evaluation of the sombrero function

Sombrero function

A sombrero function (sometimes called besinc function or jinc function) is the 2-dimensional polar coordinate analog of the sinc function, and is so-called because it is shaped like a sombrero hat. This function is frequently used in image processing. It can be defined through the Bessel function of the first kind where :

With Riple Effect just use 2D version of sombrero function and with

Then :

The WebGL version of Ripple effect can see here

How to use this ?

- Init Ripple Sprite :

rippleSprite = pgeRippleSprite::create("your image");

- Init Update function

rippleSprite->update(dt);

About

A ripple effect is a situation in which, like ripples expand across the water when an object is dropped into it, an effect from an initial state can be followed outwards incrementally.

Topics

cocos2dxrippleripple-cocos2dxripples-expandsituationsituationswater

Resources

Readme
Activity

Stars

3 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.