PANORAMIC EXAMPLES

MAIN PAGE

All these examples have been created with PANORAMIC language

To use them :

1 - download the corresponding source,

2 - open it with PANORAMIC_EDITOR (available in MAIN PAGE),

3 - run it or create a stand-alone file (exe).


EXAMPLES TO UNDERSTAND THE LANGUAGE :

Menu : How to create a menu with MAIN_MENU, SUB_MENU, CAPTION, PARENT. How to end a program with TERMINATE.

Pong game : A retro game. How to create a 3D world with 3D objects, how to read the mouse position, how to move a 3D object, how to display a 3D score.

Commands on fonts : How to use the fonts on an ALPHA, how to use events associated to BUTTON, OPTION, COMBO, SCROLL_BAR.

Dancing balls : How to use the keyword "3D_SPHERE", how to move the 3D camera.

Calculator : How to handle objects as BUTTON and EDIT, how to use the event "ON_CLICK".

Roman_Numbers : Another example of handling objects as BUTTON and EDIT, and of using the event "ON_CLICK".

Final Color : How to use the sliders TRACK_BAR, how to use primary colors, how to use a menu.

Rotating Squares : How to use the keyword "3D_LINE", how to draw in a SCENE3D.

Histogram : An histogram made with 20 objects "PROGRESS_BAR".

Radar : A radar made with 3D_SPHERE and a spinning 3D_LINE.

Red curve on yellow background : How to send the 2D commands to a PICTURE and how to draw on it, how to use poly-lines.

EXAMPLES TO USE THE LANGUAGE : (when basis is understood)

Clock : How to use 3D commands to move the needles, how to read system clock.


UNDERSTANDING THE LANGUAGE :

Menu

How to create a menu with MAIN_MENU, SUB_MENU, CAPTION, PARENT.

How to end a program with TERMINATE.

Download SOURCE (BAS)

to the top

Pong game

 

A retro game.

How to create a 3D world with 3D objects, how to read the mouse position, how to move a 3D object, how to display a 3D score.

 

 

Download SOURCE (BAS)

 

 

 

 

 

to the top

Command on fonts

 

How to use the fonts on an ALPHA, how to use events associated to BUTTON, OPTION, COMBO, SCROLL_BAR.

 

Download SOURCE (BAS)

 

 

 

 

to the top

Dancing balls

 

How to use the keyword "3D_SPHERE", how to move the 3D camera.

 

Download SOURCE (BAS)

 

 

 

 

to the top

Calculator

 

How to handle objects as BUTTON and EDIT, how to use the event "ON_CLICK".

 

Download SOURCE (BAS)

 

 

 

to the top

Roman Numbers

 

Another example of handling objects as BUTTON and EDIT, and of using the event "ON_CLICK".

 

Download SOURCE (BAS)

 

 

to the top

Final Color

 

How to use the sliders TRACK_BAR, how to use primary colors, how to use a menu.

 

Download SOURCE (BAS)

 

 

 

 

 

to the top

Rotating Squares

 

How to use the keyword "3D_LINE", how to draw in a SCENE3D.

 

Download SOURCE (BAS)

 

 

 

 

 

to the top

Histogram

 

An histogram made with 20 objects "PROGRESS_BAR".

 

Download SOURCE (BAS)

 

 

 

 

to the top

Radar

The radar echo is a small 3D_SPHERE. Its brightness is maximum when the radar detects it, then decreases to simulate a radar screen.

The scanning is a green 3D_LINE of 3 pixels which turns. The echo (small sphere) is in the North (azimuth = 0). Its brightness (green component) is 255 (maximum) when radar scanning detects it, then decreases till 0 when radar scanning is going away.

We stops the scanning (and the program) by clicking on the menu "Quitter".

Download SOURCE (BAS)

to the top

 

Red curve on yellow background

 

How to send the 2D commands to a PICTURE and how to draw on it, how to use poly-lines.

 

Download SOURCE (BAS)

 

 

 

 

 

to the top

 

USING THE LANGUAGE :

Clock

 

How to use 3D commands to move the needles, how to read system clock.

 

Download SOURCE (BAS)

 

 

 

 

 

 

 

 

to the top

 

Updated : May 20, 2008