Crates.io | miratope |
lib.rs | miratope |
version | 0.1.0 |
source | src |
created_at | 2021-05-08 21:26:59.991995 |
updated_at | 2021-05-08 21:26:59.991995 |
description | A polytope renderer and builder. |
homepage | |
repository | https://github.com/OfficialURL/miratope-rs |
max_upload_size | |
id | 394999 |
size | 2,109,340 |
A renderer for polytopes, spinned off from Miratope JS. Still in alpha development.
Miratope can already load some polytopes and find out various properties about them, and it can operate on them via various methods. We're still in the early stages of porting the original Miratope's functionality, though.
We plan to eventually support all of the original Miratope's features, as well as the following:
Miratope doesn't have a completed interface yet and is in the alpha stage, so you'll have to download the source code to do much of anything. Miratope is written in Rust, so if you don't already have the latest version and its Visual Studio C++ Build tools downloaded then you should do that first. Instructions for downloading can be found here: https://www.rust-lang.org/tools/install. You may have to restart your computer for Rust to fully install.
.zip
file.Win+R
and typing cmd
in the search box.cd [FILE PATH]
. If you don't know how to get the file path, in your files go and open the unzipped Miratope file folder, and click on the address bar at the top. Copy the highlighted file path and paste it into the command line in place of [FILE PATH]
, and press Enter. The last name in the command header should now be the name of the folder Miratope is in.cargo run
and hit Enter. It will take a while for the computer to open Miratope for the first time, but after that opening it should be a lot faster. A window should appear, if the version of Miratope you downloaded was a stable one. If it wasn't you'll get an error, and you should wait until the devs have fixed what ever they broke. Once you have completed all the steps you will only need to do step 4 to run Miratope from start up (but if the [FILE PATH]
changes, you'll need to do step 3 again).These steps are in place because it would be too costly now to update the application each time a bug is fixed or feature is added. Once Miratope leaves the alpha stage, a simple .exe
for Version 1 will be provided.
The OFF file format is a format for storing certain kinds of geometric shapes. Although not in widespread use, it has become the standard format for those who investigate polyhedra and polytopes. It was initially meant for the Geomview software, and was later adapted for the Stella software. Miratope uses a further generalization of the Stella OFF format for any amount of dimensions.
Miratope does not yet include a library of OFF files. Nevertheless, many of them can be downloaded from OfficialURL's personal collection. Eventually, they'll be browsable from Miratope itself.
Proper rendering, even in 3D is a work in progress.