Code Monkey home page Code Monkey logo

tessawing's Introduction

Tessawing

Tessawing is "4D flightsim" — a game that has four spatial dimensions. See screenshot.png for a screenshot.

Installation

You will have to compile the source files yourself using javac. You must also install Java 3D and JAMA. To run the game, run Tessawing.class with the java interpreter; make sure the Java 3D and JAMA libraries are in the classpath.

Gameplay

Use the arrow keys to change attitude in three dimensions. Use / and SHIFT to roll. Use SPACE to move forward and Z to move backwards. Use the W, A, S, D, Q, and E keys to rotate in the fourth dimension.

How to navigate in 4D

Three-dimensional space is defined by three coordinate axes: x, y, and z. Each pair of axes gives rise to a primary mode of rotation. Since there are three distinct pairs of axes (xy, xz, and yz), there are three primary rotations (pitch, yaw, and roll). These are the rotations that are available in 3D flightsims.

Four-dimensional space has an extra coordinate axis, w, which is perpendicular to x, y, and z. This gives us six pairs of axes, which means that four-dimensional space has all the primary rotations of three-dimensional space plus three more. These extra rotations are controlled by the W, A, S, D, Q, and E keys.

What you see in the game is a projection of the four-dimensional space onto a three-dimensional hyperplane in the player's frame of reference.

tessawing's People

Contributors

nisan-stiennon avatar

Stargazers

Jean-François Trân avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.