This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| </head> | |
| <canvas id="c" width="800", height="600" style="display: none"></canvas> | |
| <img id="kep"> | |
| <button id="f5">F5</button> | |
| <script> | |
| function newCircle(ctx){ | |
| ctx.beginPath(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import PyV8 | |
| class Globals(PyV8.JSClass): | |
| def __init__(self): | |
| super(Globals, self).__init__() | |
| self.coords = [] | |
| def PutMarkers(self, selector, coords): | |
| coords = PyV8.convert(coords) |
NewerOlder