Recently I had been told that prolog can create a graphical display, and told that by using the predicate generatedInitialize()
.
Can I ask for some tutorial for this?
For example, how to display a rectangle?
rectangle(2, 1, 2, 1). %rectangle(length, width, length width).
I'm using Win-Prolog 4.920.
I'm using
gfx
to draw out the display.