Pete Shadbolt
452430627a
Threaded HTTP server -> no laggy refresh
8 years ago
Pete Shadbolt
26569dfc32
Working on measure_x
Added some more terms to clifford.by_name to ease lookup of complex
conjugates
Added GraphState.toggle_edges(), used by GraphState.measure_x
Nearly finished GraphState.measure_x
8 years ago
Pete Shadbolt
45bcdf1cca
Move lookup tables into a generated module
8 years ago
Pete Shadbolt
049d36c3d9
Invert `-v` flag, a few small tweaks
8 years ago
Pete Shadbolt
95dc82cb19
Buttery smooth :cow: :bread:
Made sure that `graph.js` dumps old graphs after use, and ensured that
`examples/stress_test` shuts down the connection after use (don't create millions
of clients).
8 years ago
Pete Shadbolt
9ceb2e8b0a
Automatically center on new graphs
8 years ago
Pete Shadbolt
318ab65cf2
Small JS improvement
8 years ago
Pete Shadbolt
2b9c7a7c83
For sam
8 years ago
Pete Shadbolt
0d78f792c2
Prepare for JS tests
8 years ago
Pete Shadbolt
beea2e4ddc
Test passing w/ clean GraphState :water_buffalo:
Got rid of all the debug harness and refactored graphstate.py
8 years ago
Pete Shadbolt
4c20d4965c
:recycle:
8 years ago
Pete Shadbolt
23fec82583
Preparing to implement measurement
8 years ago
Pete Shadbolt
96e6678393
Auto layout
8 years ago
Pete Shadbolt
7024c849d0
JS tests, remove visible graph state
8 years ago
Pete Shadbolt
f30fbd6e2b
Some small tests
8 years ago
Pete Shadbolt
b3c9dce45b
Rudimentary editing is, CZs etc now work.
Next up: measurement
Also added a test on local complementation
8 years ago
Pete Shadbolt
ebe01c94ab
Editor is now working
8 years ago
Pete Shadbolt
691fdff2a2
Grid motion is good now
8 years ago
Pete Shadbolt
b8dec55fab
Better selection
8 years ago
Pete Shadbolt
b92c79eff6
Nicer editor.js :full_moon_with_face::
8 years ago
Pete Shadbolt
eec6be924a
Matrices are working noew
8 years ago
Pete Shadbolt
0c54c159ef
Small changes to editor
8 years ago
Pete Shadbolt
c2f5ebba1b
Proof of principle
8 years ago
Pete Shadbolt
41a83246f2
Not much
8 years ago
Pete Shadbolt
477f62d377
Small optimizations
8 years ago
Pete Shadbolt
b3499143e2
Small optimizations
8 years ago
Pete Shadbolt
9625e01394
Momentum
8 years ago
Pete Shadbolt
6254467bce
Added gimbal
8 years ago
Pete Shadbolt
f48e620c1a
Popups
8 years ago
Pete Shadbolt
46df289aed
Better mouse handling
8 years ago
Pete Shadbolt
37913a4b2c
Lattice example
8 years ago
Pete Shadbolt
f533e70034
Remove requirejs
8 years ago
Pete Shadbolt
548806927b
Better
8 years ago
Pete Shadbolt
82fd2d911f
Getting somewhere with requirejs
8 years ago
Pete Shadbolt
44d3513b7f
Fucking javascript bastard :gun:
8 years ago
Pete Shadbolt
abf5fa8a31
RequireJS
8 years ago
Pete Shadbolt
9bab678943
Somehow lost the websocket interface
8 years ago
Pete Shadbolt
83575e3bc9
More tidying
8 years ago
Pete Shadbolt
8c2218e48d
Just tidying up
8 years ago
Pete Shadbolt
bd1861ce8a
Tidy javascript
8 years ago
Pete Shadbolt
60a5a22c06
Server now serves HTML to localhost:5001 :gun:
And we automatically pop a browser window when the server boots. Nice
8 years ago
Pete Shadbolt
7d90052833
Aliasing imports
8 years ago
Pete Shadbolt
183e501060
Anders & Briegel's CZ table passes my tests
But it is not symmetric. I wonder why. Can run with either for now.
8 years ago
Pete Shadbolt
63c6de30ae
Now we can render to the browser
8 years ago
Pete Shadbolt
9a794c9618
Get data into browser
8 years ago
Pete Shadbolt
87c4c4f0a8
Working on JSON
8 years ago
Pete Shadbolt
857427b47c
Beautify
8 years ago
Pete Shadbolt
df978f2f9e
Better labelling
8 years ago
Pete Shadbolt
5d45eb8292
Add prototype renderer
8 years ago
Pete Shadbolt
062eb828d5
Make it possible to add vertices without adding edges
8 years ago