Timeline for Interaction between two sliders that update the same variable
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 22, 2013 at 7:51 | comment | added | Gabriel | Thanks, m_goldberg, for showing the bug! | |
Sep 22, 2013 at 1:20 | comment | added | m_goldberg |
There is a bug in your posted code. The constraint function should be If[Abs[# - Round[#]] < 0.3, x = Round[#], x = #] & . Note the additional # in the 2nd arg to If .
|
|
Sep 22, 2013 at 1:13 | history | edited | m_goldberg | CC BY-SA 3.0 |
deleted 38 characters in body; edited title
|
Sep 21, 2013 at 15:41 | vote | accept | Gabriel | ||
Sep 21, 2013 at 15:33 | answer | added | jVincent | timeline score: 2 | |
Sep 21, 2013 at 15:30 | comment | added | Michael E2 |
Yes. Each slider has its own update function that is applied only when that slider is moved. However the positions of both sliders always track the value of x .
|
|
Sep 21, 2013 at 15:26 | history | asked | Gabriel | CC BY-SA 3.0 |