SWI-Prolog Did You Know Did you know? SWI-Prolog has an OpenGL Interface Search Documentation:
Example of Using the Foreign Interface