Skip to main content
18 votes

Can we implement a Neural Network interactively?

Update: So after adding the missing features I decided to give your actual problem a go. This is what I have: You'll note a little "Add Layer" ActionMenu ...
b3m2a1's user avatar
  • 46.9k
16 votes
Accepted

Distance measures on a map of a game

Both tasks you outlined could be fused into a single app - screenshot is above. I assume that because this is a game the corrections due to geodesic model (flat map from non-flat planet surface) do ...
Vitaliy Kaurov's user avatar
15 votes
Accepted

Highlight line in plot

SetterBar ...
kglr's user avatar
  • 398k
14 votes
Accepted

How to Detect Special Key Presses in a Notebook?

Following detects backspace on Mac: SetOptions[EvaluationNotebook[],NotebookEventActions-> {{"KeyDown","\.08"}:>Print["triggered"]}] This code can be ...
BlacKow's user avatar
  • 6,438
13 votes
Accepted

Is there a way to "freehand draw" in Mathematica, and pick up the plotted data in real time?

Edit: I made the size of the graphic generalised so you can have any size of canvas and any thickness of line As Szabolcs said in a comment, there is an example of that in the documentation. Hating ...
lowriniak's user avatar
  • 2,412
10 votes
Accepted

Making a Mathematica version of Wordle interactive

This is a very minimal interactive wireframe to get you started. ...
Domen's user avatar
  • 27.2k
10 votes

How can I make the vertices of a tree graph clickable?

Maybe something like this: ...
lericr's user avatar
  • 30.2k
9 votes
Accepted

How to make the bar be a button?

You can wrap input data with Button with action CopyToClipboard: ...
kglr's user avatar
  • 398k
9 votes
Accepted

How do you glue a text to a point?

First of all your Offset specification is strange, I'd make it Offset[{-5, -5}, {2, 1}], right? Then, you can use ...
Kuba's user avatar
  • 137k
8 votes

How do you create draggable points inside a graphic image?

Here is how you would do it with LocatorPane: ...
C. E.'s user avatar
  • 70.8k
8 votes

How to draw a Graph in Mathematica and obtain the adjacency list

IGraph/M 0.6 includes IGGraphEditor[], which allows manipulating small graphs interactively. This project is still in experimental stage, and all feedback is ...
Szabolcs's user avatar
  • 236k
7 votes

How to Detect Special Key Presses in a Notebook?

@BlacKow's answer works well on Mac, but Mathematica cannot handle special keys (s.a. F2 or PAUSE) on Windows. Thus, Here is a Windows workaround: The idea is to create a dynamic link library that ...
JEM_Mosig's user avatar
  • 3,003
6 votes

How to create 2d trajectory by moving mouse over plot

The following works: ...
anderstood's user avatar
  • 14.3k
6 votes

Conveniently rotate animated 3D graphics

One possible solution is to make a separate trackball control. ...
6 votes
Accepted

Strange behavior of Print, Do, and merged output cells

The reason this happens is described in ref/CellPrint, in the possible issues section: Setting CellAutoOverwrite and GeneratedCell can cause unexpected results: ...
ktm's user avatar
  • 4,242
6 votes

view is not fixed completely regardless of vewpoint

Set an explicit value for ViewPoint and for ViewVertical. Add the option ...
kglr's user avatar
  • 398k
6 votes

Making a Mathematica version of Wordle interactive

Feel free to take a look at this on the Wolfram community that I did for fun: a facsimile of Wordle Moderators: update… I did not see that a link to this was added as a comment above. I am leaving ...
David Reiss's user avatar
5 votes

How to Detect Special Key Presses in a Notebook?

So after BlacKow's insight I found more of these by playing with this: ...
b3m2a1's user avatar
  • 46.9k
5 votes
Accepted

How can I make my code wait until two actions are done?

Update My answer is to use Dynamic with the option UpdateInterval -> 1 to hold the code that checks the completion condition. ...
m_goldberg's user avatar
  • 108k
5 votes
Accepted

Finding cropped region coordinates

Something like this ...
Sumit's user avatar
  • 15.9k
5 votes
Accepted

How to get Mathematica to wait until I answer a prompt?

This works on MacOS Sierra running MMA 10.3 ...
elbOlita's user avatar
  • 1,681
5 votes
Accepted

Create a point on a phase portrait and draw a trajectory flow following the vector lines by time-passing

I would do this using a Manipulate with a Locator pane, because that's easier than using an ...
Jens's user avatar
  • 97.4k
5 votes
Accepted

How to create keypress simulation program?

A summary to all the stuffs: ...
Wjx's user avatar
  • 9,630
5 votes

How may I enable the extra slider icon?

Example Note: This will add all them buttons as in your example but you won't be able to hide them. ...
e.doroskevic's user avatar
  • 5,979
5 votes

How to create 2d trajectory by moving mouse over plot

...
kglr's user avatar
  • 398k
5 votes

How can I make Graphics objects clickable?

There are lots of ways to do what you ask for. I decided that an implementation based on FlipView and Insert would be fun ...
m_goldberg's user avatar
  • 108k
5 votes
Accepted

How to force ListPlot to print the new curve while keeping the old one

Append the new data to your dataSet each time the button is pressed, rather than simply assigning it a new value: ...
MarcoB's user avatar
  • 67.4k
5 votes

Dynamic Linkage of LocatorPane and InputField

Consider the following refactoring of your code First, the locator pane is used to set a point location constrained on a circle with unit radius (this part borrowed heavily from an example in the ...
MarcoB's user avatar
  • 67.4k
5 votes

How to draw a Graph in Mathematica and obtain the adjacency list

Give this a try and see if it does what you need: << GraphUtilities` GraphEdit[]
Jason B.'s user avatar
  • 68.9k
5 votes

How to draw a Graph in Mathematica and obtain the adjacency list

Here's a simple function that can convert Graphics to a graph. With this, you can draw a simple graph with the Drawing Tools palette (http://reference.wolfram.com/...
Sjoerd Smit's user avatar
  • 23.8k

Only top scored, non community-wiki answers of a minimum length are eligible