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
  • 47.1k
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
  • 401k
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
  • 33.4k
10 votes

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

Maybe something like this: ...
lericr's user avatar
  • 33.9k
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
  • 401k
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
  • 138k
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
  • 71.2k
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,043
6 votes

Conveniently rotate animated 3D graphics

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

How to create 2d trajectory by moving mouse over plot

The following works: ...
anderstood's user avatar
  • 14.5k
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,302
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
  • 401k
6 votes
Accepted

What's the correct action for pressing a key?

...
Chris Degnen's user avatar
  • 31.3k
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 create 2d trajectory by moving mouse over plot

...
kglr's user avatar
  • 401k
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
  • 47.1k
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
  • 16k
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

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.7k
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.7k
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
  • 70.2k
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
  • 24.8k
5 votes
Accepted

Disable editing for graphics

Deploy seems work. ...
cvgmt's user avatar
  • 84.1k
5 votes
Accepted

Can Mathematica create persistence of vision animations?

Let's break this into two problems. The first is to create a sequence of slices. What you've failed to do is orient your slices in 3D. There are probably several ways to do this, but here's one. ...
lericr's user avatar
  • 33.9k

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