projects
/
mussa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
record selected track
[mussa.git]
/
py
/
gl.py
1
"""Can we show a mussa gl object?
2
"""
3
from OpenGL.GLUT import *
4
from OpenGL.GL import *
5
import mussa
6
7
def main():
8
seq = mussa.Sequence()
9
s = "AAGGCCTTAAGGCCTT"
10
seq = mussa.Sequence(s)
11
assert s == seq.size() == len(seq)
12
glseq = mussa.GlSequence(seq)
13
14
glutInit(sys.argv)
15
16
17
if __name__ == "__main__":
18
main()