How Can I Create a Diagrammatic Notation Editor for Penrose's Notation?

  • Context: Graduate 
  • Thread starter Thread starter Shaun Culver
  • Start date Start date
  • Tags Tags
    Notation
Click For Summary

Discussion Overview

The discussion revolves around the creation of a diagrammatic notation editor specifically for Penrose's notation. Participants explore various approaches, tools, and features that could be incorporated into such an editor, including graphical user interfaces (GUIs), symbolic input generation, and advanced functionalities like tensor algebra and knot theory.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses interest in creating a diagrammatic notation editor and inquires about potential tools like Adobe Flash or Mathematica.
  • Another participant questions whether the goal is to create a GUI for manipulating links on a grid or simply to display them.
  • A participant outlines ambitious goals for the editor, including generating diagrams from symbolic input, visually manipulating diagrams, and incorporating advanced concepts like knot algebra and tensor algebra.
  • Suggestions include using Mathematica for calculations and exploring GUI options for drawing circuit diagrams.
  • A participant shares their experience with JAVA as a suitable programming language for this project, mentioning the availability of necessary APIs and tools for GUI development.
  • Another participant acknowledges the suggestion of circuit diagrams as a useful reference and expresses intent to further investigate the proposed ideas.

Areas of Agreement / Disagreement

Participants present multiple competing views on the tools and approaches to use for the diagrammatic notation editor. There is no consensus on a single method or technology, and the discussion remains open-ended regarding the best path forward.

Contextual Notes

Participants mention various programming languages and tools, but there are no settled assumptions about the feasibility or effectiveness of specific approaches. The discussion includes references to advanced concepts that may require further exploration and clarification.

Who May Find This Useful

Individuals interested in software development for mathematical notation, diagrammatic representations in physics, and those exploring GUI design for scientific applications may find this discussion relevant.

Shaun Culver
Messages
69
Reaction score
0
I am interested in creating a diagrammatic notation editor. Any ideas about how I can do this? What about using Adobe flash, or Mathematica?
 
Physics news on Phys.org
Are you looking to create some kind of GUI to move "links" around on some kind of grid?
Or merely display them?
 
I would like to create something that can:
* generate diagrams based on symbolic input (e.g. tensor/matrix/spinor notation)
* visually manipulate diagrams through a GUI (e.g. connecting indices using some kind of grid structure; quantities differentiated are circled, etc)

Mathematica could, initially, handle the necessary calculations. At this stage, I still have to find a program (or a set of programs) to do the rest. I hope to (eventually) create a self contained program.

More advanced ideas:
* The algebra of knots ("The Road to Reality", Penrose, 2004; pg. 944) could be incorporated.
* Tensor algebra, for example, could be supported, graphically and symbolically.
* Output to symbols based on the visual manipulation of the diagrams (graph theoretic and combinatorial ideas would probably be needed)
* Incorporating tablet PC pen recognition (Very advanced)

This is an admittedly ambitious project. I have a gut feel that it can be done. It may take a long time to get this project up and running. Slight (computer friendly) modifications made to the original notation may be needed.
 
Check out the sections on equation recognition from my contribution to the PF blog:
https://www.physicsforums.com/blog/2006/05/20/tabletpcs-for-science-and-science-teaching/

You might look at some GUIs for drawing circuit diagrams.

It sounds like a neat project.
I'm working on visualizing tensors in VPython, with a possible link to Maple's tensor algebraic functions.
 
Last edited by a moderator:
Thank you for the extremely useful link. Circuit diagrams! Good suggestion. Wow, you've given me much food for thought.

I'll get back to this topic once I've investigated these things.

All the best with your project.
 
JAVA seems like the best approach for this. Pretty much everything you'll need is in the API. It may take awhile to the hang of making GUI's in swing and the subtleties of actionlisteners. When I was in high school, I made my own version of paint and a graphing/scientific calculator so I'm sure this can be done. I used JEP (JAVA math expression parser) for parsing user equation input. It was free when I used it, but it seems to have a commercial and trial version now. There are a couple of other free open source ones listed on SourceForge though.
 

Similar threads

  • · Replies 26 ·
Replies
26
Views
12K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 41 ·
2
Replies
41
Views
4K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
7
Views
3K
Replies
4
Views
1K
  • · Replies 1 ·
Replies
1
Views
818
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K