Height-based shader in Processing 3D

I am developing a health-care application in processing. I am rendering a 3D spectrogram chart of an EEG (a test 30hz sine wave and some noise in the picture). enter image description here

The thing is that I would like to color the chart depending on the point's z value.

Unfortunately, all the chart is a PShape, since I modified Dan Siffmann's version.

However, I think I could use Shaders. Maybe I have misunderstood the concept, but could I do it that way with Hue values from 0 to 220?



from Recent Questions - Stack Overflow https://ift.tt/2UZlqjQ
https://ift.tt/39gy06H

Comments

Popular posts from this blog

I get wrong characters when retreiving the message body of an email using TIdIMAP4.UIDRetrieveTextPeek2()

How to drop the all the 1's in a correlation matrix

Today Walkin 14th-Sept