Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/epatel/EKG
- Owner: epatel
- Created: 2009-08-15T11:07:36.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2009-10-22T19:17:09.000Z (about 15 years ago)
- Last Synced: 2023-10-20T19:42:10.077Z (about 1 year ago)
- Language: Objective-C
- Homepage: http://www.memention.com/blog/2009/08/20/How-hard-can-it-be.html
- Size: 324 KB
- Stars: 37
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - EKG - Small iPhone project showing an EKG curve drawn in OpenGLES (etc)
- awesome - EKG - Small iPhone project showing an EKG curve drawn in OpenGLES (etc)
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