GO-V.ORG
As seen in

Planarity

Planarity is a 2005 puzzle computer game by John Tantalo, based on a concept by Mary Radcliffe at Western Michigan University.[src] The name comes from the concept of planar graphs in graph theory; these are graphs that can be embedded in the Euclidean plane so that no edges intersect.[src] By Fáry's theorem, if a graph is planar, it can be drawn without crossings so that all of its edges are straight line segments.[src] In the planarity game, the player is presented with a circular layout of a planar graph, with all the vertices placed on a single circle and with many crossings.[src] The goal for the player is to eliminate all of the crossings and construct a straight-line embedding of the graph by moving the vertices one by one into better positions.[src]

Planarity is a 2005 puzzle computer game by John Tantalo, based on a concept by Mary Radcliffe at Western Michigan University.[src] The name comes from the concept of planar graphs in graph theory; these are graphs that can be embedded in the Euclidean plane so that no edges intersect.[src] By Fáry's theorem, if a graph is planar, it can be drawn without crossings so that all of its edges are straight line segments.[src] In the planarity game, the player is presented with a circular layout of a planar graph, with all the vertices placed on a single circle and with many crossings.[src] The goal for the player is to eliminate all of the crossings and construct a straight-line embedding of the graph by moving the vertices one by one into better positions.[src] ==History and versions== The game was written in Flash by John Tantalo at Case Western Reserve University in 2005.[src] Online popularity and the local notoriety he gained placed Tantalo as one of Cleveland's most interesting people for 2006.[src] It in turn has inspired the creation of a GTK+ version by Xiph.org's Chris Montgomery, which possesses additional level generation algorithms and the ability to manipulate multiple nodes at once.[src] ==Puzzle generation algorithm== The definition of the planarity puzzle does not depend on how the planar graphs in the puzzle are generated, but the original implementation uses the following algorithm: Generate a set of random lines in a plane such that no two lines are parallel and no three lines meet in a single point.[src] Calculate the intersections of every line pair.[src] Create a graph with a vertex for each intersection and an edge for each line segment connecting two intersections (the arrangement of the lines).[src] If a graph is generated from L lines, then the graph will have exactly \tbinom{L}{2} = \tfrac{L(L-1)}{2} vertices (each line has L-1 vertices, and each vertex is shared with one other line) and L(L-2) edges (each line contains L-2 edges).[src] The first level of Planarity is built with L=4 lines, so it has L(L-1)/2=6 vertices and L(L-2)=8 edges.[src] Each level after is generated by one more line than the last.[src] If a level was generated with L lines, then the next level has L more vertices and 2L-1 more edges.[src] The best known algorithms from computational geometry for constructing the graphs of line arrangements solve the problem in O(L^2) time, linear in the size of the graph to be constructed, but they are somewhat complex.[src] Alternatively and more simply, it is possible to index each crossing point by the pair of lines that cross at that point, sort the crossings along each line by their x -coordinates, and use this sorted ordering to generate the edges of the planar graph, in near-optimal O(L^2\log L) time.[src] Once the vertices and edges of the graph have been generated, they may be placed evenly around a circle using a random permutation.[src] ==Related theoretical research== The problem of determining whether a graph is planar can be solved in linear time, and any such graph is guaranteed to have a straight-line embedding by Fáry's theorem, that can also be found from the planar embedding in linear time.[src] Therefore, any puzzle could be solved in linear time by a computer.[src] However, these puzzles are not as straightforward for human players to solve.[src] In the field of computational geometry, the process of moving a subset of the vertices in a graph embedding to eliminate edge crossings has been studied by Pach and Tardos (2002), and others, inspired by the planarity puzzle.[src] The results of these researchers shows that (in theory, assuming that the field of play is the infinite plane rather than a bounded rectangle) it is always possible to solve the puzzle while leaving n^\epsilon of the n input vertices fixed in place at their original positions, for a constant \epsilon that has not been determined precisely but lies between 1/4 and slightly less than 1/2.[src] When the planar graph to be untangled is a cycle graph, a larger number of vertices may be fixed in place.[src] However, determining the largest number of vertices that may be left in place for a particular input puzzle (or equivalently, the smallest number of moves needed to solve the puzzle) is NP-complete.[src] has shown that the randomized circular layout used for the initial state of Planarity is nearly the worst possible in terms of its number of crossings: regardless of what planar graph is to be tangled, the expected value of the number of crossings for this layout is within a factor of three of the largest number of crossings among all layouts.[src] In 2014, mathematician David Eppstein published a paper providing an effective algorithm for solving planar graphs generated by the original Planarity game, based on the specifics of the puzzle generation algorithm.[src] ==References== ==External links== Planarity.net — the original Flash game NetLogo System — Included as sample program (game) in NetLogo system Planarity — Version using SVG and the d3 JavaScript library Multitouch Planarity — Multiplayer- and multitouch-enabled version written in Python using libavg.[src]

33 sentences · 33 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Planarity." encyclopegia.org, 2024, https://encyclopegia.org/wiki/planarity. Accessed 04 December 2026.

Chicago

"Planarity." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/planarity.

APA

encyclopegia.org. (2024). Planarity. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/planarity

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Mac Lane's planarity criterion

enwiki · references available

Left-right planarity test

enwiki · references available

Whitney's planarity criterion

enwiki · references available

Planarity testing

enwiki · references available

Clustered planarity

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1235979006 · 0.5 · snapshot enwiki-001235979006

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.