---
name: "exstars"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/exstars"
---

# exstars(3alleg)

3d starfield and lightsourced spaceship. Allegro game programming library.

## NAME

exstars - 3d starfield and lightsourced spaceship. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**Example exstars**

## DESCRIPTION

This program draws a 3D star field (depth-cued) and a polygon starship (controllable with the keyboard cursor keys), using the Allegro math functions.

## SEE ALSO

[**BITMAP**(3alleg)](/BITMAP/3alleg.md), [**END\_OF\_MAIN**(3alleg)](/END_OF_MAIN/3alleg.md), [**MATRIX**(3alleg)](/MATRIX/3alleg.md), [**PALETTE**(3alleg)](/PALETTE/3alleg.md), [**SCREEN\_H**(3alleg)](/SCREEN_H/3alleg.md), [**SCREEN\_W**(3alleg)](/SCREEN_W/3alleg.md), [**allegro\_error**(3alleg)](/allegro_error/3alleg.md), [**allegro\_init**(3alleg)](/allegro_init/3alleg.md), [**allegro\_message**(3alleg)](/allegro_message/3alleg.md), [**apply\_matrix**(3alleg)](/apply_matrix/3alleg.md), [**blit**(3alleg)](/blit/3alleg.md), [**clear\_bitmap**(3alleg)](/clear_bitmap/3alleg.md), [**create\_bitmap**(3alleg)](/create_bitmap/3alleg.md), [**cross\_product**(3alleg)](/cross_product/3alleg.md), [**destroy\_bitmap**(3alleg)](/destroy_bitmap/3alleg.md), [**dot\_product**(3alleg)](/dot_product/3alleg.md), [**fixed**(3alleg)](/fixed/3alleg.md), [**fixmul**(3alleg)](/fixmul/3alleg.md), [**fixtof**(3alleg)](/fixtof/3alleg.md), [**fixtoi**(3alleg)](/fixtoi/3alleg.md), [**font**(3alleg)](/font/3alleg.md), [**get\_rotation\_matrix**(3alleg)](/get_rotation_matrix/3alleg.md), [**get\_transformation\_matrix**(3alleg)](/get_transformation_matrix/3alleg.md), [**get\_translation\_matrix**(3alleg)](/get_translation_matrix/3alleg.md), [**install\_keyboard**(3alleg)](/install_keyboard/3alleg.md), [**install\_timer**(3alleg)](/install_timer/3alleg.md), [**itofix**(3alleg)](/itofix/3alleg.md), [**key**(3alleg)](/key/3alleg.md), [**normalize\_vector**(3alleg)](/normalize_vector/3alleg.md), [**palette\_color**(3alleg)](/palette_color/3alleg.md), [**persp\_project**(3alleg)](/persp_project/3alleg.md), [**poll\_keyboard**(3alleg)](/poll_keyboard/3alleg.md), [**putpixel**(3alleg)](/putpixel/3alleg.md), [**rectfill**(3alleg)](/rectfill/3alleg.md), [**screen**(3alleg)](/screen/3alleg.md), [**set\_gfx\_mode**(3alleg)](/set_gfx_mode/3alleg.md), [**set\_palette**(3alleg)](/set_palette/3alleg.md), [**set\_projection\_viewport**(3alleg)](/set_projection_viewport/3alleg.md), [**textout\_centre\_ex**(3alleg)](/textout_centre_ex/3alleg.md), [**textprintf\_centre\_ex**(3alleg)](/textprintf_centre_ex/3alleg.md), [**triangle**(3alleg)](/triangle/3alleg.md), [**vsync**(3alleg)](/vsync/3alleg.md)
