Search Unity

Unity UI Electrocardiogram (ECG/EKG) Traces

Discussion in 'UGUI & TextMesh Pro' started by Washi92, Jun 4, 2017.

  1. Washi92

    Washi92

    Joined:
    Apr 5, 2017
    Posts:
    6
    Hello,
    I'm new with unity. I need to trace an elctrocardiogram for my game. i've thought it was easy but it is not for me. I would like to obtain something like this:



    and then i would use it to plot more traces like this:



    I've found also a database of ECG traces here: https://physionet.org/cgi-bin/atm/ATM
    So I would like to trace th following samples:

    Elapsed time ECG
    mm:ss.mmm (mV)
    0:00.000 -0.060
    0:00.010 -0.065
    0:00.020 -0.060
    0:00.030 -0.075
    0:00.040 -0.065
    . .
    . .
    . .
    I was using a line renderer, but i still have some troubles to relate the line renderer position to each sample at a determined time.
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      42.7 KB
      Views:
      1,009
  2. unity_82675ACC3FC2FCBDC423

    unity_82675ACC3FC2FCBDC423

    Joined:
    Jun 7, 2022
    Posts:
    1
    did you found any solution of this problem?