I've seen that the default control label font (a slider label for example) is different from the default Textlabel font.
How can I use the default control label font with my Textlabels?
In ControlP5 I want to link two sliders. That is, when I move the slider A, the slider B moves too. And when I move the slider B, the slider A moves too. They must have the always the same value.
The sliders are inside a class. I was not sure about the following code (maybe it creates a loop), but it seems that it works correctly:
import controlP5.*;
ControlP5 cp5; ControlA ctrlA; ControlB ctrlB;
void setup() { size(300, 300); cp5 = new ControlP5(this); ctrlA = new ControlA(); ctrlB = new ControlB(); }
I want to make a
slider with CP5 and I want to control their values with a "snap". I mean, if the snap = 2, the slider values must be 0, 2, 4, 6. If the sanp = 3, then 0, 3, 6. Teorically, that's not very difficult using functions like setNumberOfTickMarks(), setTickMarkLength(), snapToTickMarks(), setRange(),... But it makes me an error when I try to use one of these funcitions, like
After try with 2 video cards and a lot of experiments I've learned that in Javascript mode it draws the line correctly, but in Java mode not. I'm using Windows 7 (64 bits).
Any idea/advice?
Anyone can draw a black, 1 pixel line in P3D? With wich hardware and software??? I'm going to buy the same...