title: Plotting functions in webgl
body: <p>Im starting to take a look at webgl. So far drawing shapes and lines is relatively easy. However i wouldnt know how to plot a function such as <code>y = sin(x)</code> or something more complex than that.</p>
  
  <p>I can imagine how this could be done individually on the pixel level  by just figuring out the axis and then calculating which pixels to draw individually based on the scale.</p>
  
  <p>How would you approach this problem using webgl? Is there some build in functionality i could use or should i alproach it on a per pixel basis?</p>
  
  <p>Thanks a lot</p>