SkillAgentSearch skills...

EKG

Small iPhone project showing an EKG curve drawn in OpenGLES

Install / Use

/learn @epatel/EKG
About this skill

Quality Score

0/100

Supported Platforms

Universal

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

  • 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

View on GitHub
GitHub Stars37
CategoryDevelopment
Updated5y ago
Forks4

Languages

Objective-C

Security Score

60/100

Audited on Jan 13, 2021

No findings