Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Penrose's diagrammatic notation

  1. May 25, 2008 #1
    I am interested in creating a diagrammatic notation editor. Any ideas about how I can do this? What about using Adobe flash, or Mathematica?
  2. jcsd
  3. Jun 2, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

    Are you looking to create some kind of GUI to move "links" around on some kind of grid?
    Or merely display them?
  4. Jun 3, 2008 #3
    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.
  5. Jun 3, 2008 #4


    User Avatar
    Science Advisor
    Homework Helper
    Gold Member

  6. Jun 3, 2008 #5
    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.
  7. Jun 3, 2008 #6


    User Avatar

    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.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Penrose's diagrammatic notation
  1. Diagrammatic Notation (Replies: 1)

  2. Tensor notation (Replies: 18)

  3. Abuse of notation? (Replies: 3)

  4. Derivative notation (Replies: 1)