Skip to content

Commit

Permalink
🐢 update file names
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfram77 committed Feb 3, 2022
1 parent 2679d43 commit ad2d7e3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
File renamed without changes.
25 changes: 14 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
**3dexperiment** is an experiment with 3D formulae in QuckBASIC, DOS.
The program demonstrates a cuboid which can be rotated and translated using
mentioned keys. The 3d formulae used are:
mentioned keys. The 3d formulae used are:

| Symbols | Meaning|
|---------|--------|
| objectx, objecty, objectz | point of rotation of object |
<br>

| Symbols | Meaning |
| ------------------------- | --------------------------------------------- |
| objectx, objecty, objectz | point of rotation of object |
| camerax, cameray, cameraz | point of camera looking at the world you make |
| xpos, ypos, zpos | position of pixel in the world coords |
| a, b, c | angles around x, y, z axes |
| xscale, yscale | scale factors for x, y axes |
| xcentre, ycentre | centre of vision on the screen |
| x, y | position of pixel on screen |
| xpos, ypos, zpos | position of pixel in the world coords |
| a, b, c | angles around x, y, z axes |
| xscale, yscale | scale factors for x, y axes |
| xcentre, ycentre | centre of vision on the screen |
| x, y | position of pixel on screen |

<br>

```
x1 = xpos - objectx
Expand All @@ -31,8 +35,7 @@ x = xf + xcentre
y = yf + ycentre
```


## demo
<br>

<img src="https://raw.githubusercontent.com/qb40/3dexperiment/gh-pages/0/image/0.png" width="70%"><br/>
Cuboid in default position (keeps rotating).
Expand Down
1 change: 0 additions & 1 deletion _config.yml

This file was deleted.

0 comments on commit ad2d7e3

Please sign in to comment.