Skip to content

App creating boxes of varying color that pulse and fade - uses only CoreGraphics

License

Notifications You must be signed in to change notification settings

edcsalter/ChromaPulse

Repository files navigation

Build Status


A Digital Pond

ChromaPulse demonstrates how responsive, visually brilliant apps don't necessitate convoluted codebases.

  • A UIVisualEffectView just below the status bar facilitateing navigtion between a pallette of purple background views.
  • User interactions outside of the UIVisualEffectView yield a bevy of polychromatic ripples that follow the user's touch. Each ripple starts square, then grows, rounds, and fades back to the nothingness from which it came.

The screenshot below illustrates the growing "ripples" tracking touch events on the green "pond". Touches began with the large purple square just left of center and curled around twice before ending in the top-righthand corner, demarcated by the smallest square.

Construction and UI Elements

  • Continuous Integration
    - [TODO: Fix] Travis-Ci

  • Template:

    • Single View Application
  • Frameworks:

    • Core Graphics
  • Mechanism:

    • Squares/"ripples" = subclassed UIView called according to touch event
    • Background colors are an array indexed into by swiping left or right on the occluded region
    • Occluded region = subclassed UIButton responsive only to left and right swiping (The Swift version I'm currently building will use a UIPanGestureRecognizer)

Going Forward

  • Leverage Apple's latest UITesting
  • Make a Swift version and quantify differences in speed and size of app.
  • Leverage Accelerometers
  • Add controls for various attributes

About

App creating boxes of varying color that pulse and fade - uses only CoreGraphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published