Skip to content

Commit 2ad6555

Browse files
committed
Update project-ideas.md
1 parent e6cac3d commit 2ad6555

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

‎v3/docs/project-ideas.md‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,20 @@ so that OPT visualizations (and the surrounding user interface) look good on dis
3232
ranging from smartphones to tablets to laptops to giant desktop monitors.
3333

3434

35+
## Rich user input widgets (medium)
36+
37+
Right now Online Python Tutor takes only code as input. However, it would be great to create widgets that allow
38+
the user to input data into their code. That way, they can visualize the same code executing on different data
39+
without changing the code. Currently, the only way to do this is to "hard-code" the input data as global constants.
40+
41+
Here are some example sorts of input widgets:
42+
43+
- Text input widget to simulate stdin (e.g., for use with raw_input())
44+
- Interactive widget to draw mathematical graphs (e.g., nodes and edges); useful for visualizing graph/tree manipulation algorithms
45+
- A 2-D canvas where the user can draw points and lines in a coordinate system; useful for visualizing simple computational geometry algorithms
46+
- Drag and drop an image; useful for visualizing image manipulation algorithms
47+
48+
3549
## Custom data structure visualizations (medium)
3650

3751
Right now Online Python Tutor can render only basic Python data structures. While this is sufficient for teaching introductory CS courses, intermediate and advanced CS students must learn algorithms involving more sophisticated data structures such as binary trees and graphs. The goal of this project is to create a set of effective custom renderers for data structures such as trees, graphs, numerical matrices, and even simple 2D graphical worlds (e.g., for Pac-Man or Conway’s Game of Life). These renderers will make Online Python Tutor useful in a far larger variety of CS courses and online textbooks.

0 commit comments

Comments
 (0)