Cadabra
Computer algebra system for field theory problems
Variables
tst Namespace Reference

Variables

 wnd = GLWindow.create_window()
 
 ctx = ModernGL.create_context()
 
 prog
 
 vbo
 
 vao = ctx.simple_vertex_array(prog, vbo, ['vert'])
 
 viewport
 

Variable Documentation

◆ ctx

tst.ctx = ModernGL.create_context()

◆ prog

tst.prog
Initial value:
1 = ctx.program([
2  ctx.vertex_shader(),
3  ctx.fragment_shader(),
4 ])

◆ vao

tst.vao = ctx.simple_vertex_array(prog, vbo, ['vert'])

◆ vbo

tst.vbo
Initial value:
1 = ctx.buffer(struct.pack(
2  '6f',
3  0.0, 0.8,
4  -0.6, -0.8,
5  0.6, -0.8,
6 ))

◆ viewport

tst.viewport

◆ wnd

tst.wnd = GLWindow.create_window()