mapping values

  1. Are there any other major issues with my sketch?

Yes, this one:

vall = map(vall, 0, 100, 90, 180);
  valr = map(valr, 0, 180, 180, 90);