The world gadget can be subclassed, giving Factor code full control of the window's OpenGL context. The following generic words can be overridden to replace standard UI behavior:
begin-world ( world -- )

end-world ( world -- )

resize-world ( world -- )

draw-world* ( world -- )


See the spheres and bunny demos for examples.