Skip to main content

Questions tagged [locator]

Questions on position tracking, especially using Mathematica coordinate tracking functions and control objects such as Locator, LocatorPane, and ClickPane.

2 votes
1 answer
133 views

I'd like to have multiple (~4) locators in a LocatorPane background, each with their own location constraints. I tried to use ideas from this question but couldn't get very far. This working code gets ...
Todd Pytel's user avatar
1 vote
1 answer
95 views

I'd like code to allow interactive input of a chain of 2D points, which are saved in some global variable. And in addition, I would like to constrain the coordinates to be integers. The code below is ...
Joseph O'Rourke's user avatar
0 votes
1 answer
99 views

TrackingFunction example Manipulate[ Graphics[Circle[], PlotRange -> 2], {{pt, {0, 0}}, Locator, TrackingFunction -> (pt = #/Max[Norm[#], 1]; &)}] ...
eason's user avatar
  • 403
0 votes
0 answers
103 views

I work on a Bezier curve subdivision project. I managed to implement it, but I faced some problems. (The code of my program is presented below.) Firstly, if I change parameter n after changing other ...
jkjfgk's user avatar
  • 21
0 votes
1 answer
203 views

I want to create two figures, side by side, each with an independent Locator. I want to do this using Manipulate, because I can easily use information from each Locator in both plots. This answer did ...
Eric Hester's user avatar
7 votes
2 answers
329 views

how would I create a Manipulate to draw a InfiniteLine between two Locator? The first Loactor should control the x/y of the first point together with the y of the second one. The second Locator should ...
Robert Nowak's user avatar
2 votes
1 answer
109 views

I am trying to have a locator move along a manipulated line but every time I manipulate the variables the locator doesn't move across the new line. How can I get the locator to move across the line ...
user76275's user avatar
3 votes
1 answer
211 views

I have some locators in a LocatorPane and want to let users remove them. Unfortunately, it seems doing this conflicts with the ...
M.R.'s user avatar
  • 31.9k

15 30 50 per page
1
2 3 4 5
8