Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/epatel/EKG

Small iPhone project showing an EKG curve drawn in OpenGLES
https://github.com/epatel/EKG

Last synced: about 1 month ago
JSON representation

Small iPhone project showing an EKG curve drawn in OpenGLES

Awesome Lists containing this project

README

        

This is a small project written very quickly trying to show some OpenGLES tricks to draw an EKG curve on an iPhone.

A question for some tips for this was posted by Jont Olof Lyttkens on [http://groups.google.com/group/cocoaheads-stockholm](http://groups.google.com/group/cocoaheads-stockholm)

* The curve is drawn three times with different colors and width

* Each vertex is also drawn as a point to get a smoother line

* A texture is used to draw the halo and also used when drawing the lit grid

* GL_LINE_SMOOTH does not exist in pre-3GS devices. FBO could perhaps be used to create a nicer line

Note: cloned and compiled with latest Xcode, worked on SDK 3.0