-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Hello there,
I have made an application so that you may load and visualize a polycube dataset in your browser.
You can load dataset from your computer in a text file format where each line is xyz111000110001...
I have seen the post about the pcube format but it was too complex for me to implement fast in Javascript.
So I also propose to download polycubes from 3 to 9 in the correct format as an archive (if you trust it):
or individually polycubes 3, polycubes 4, polycubes 5, polycubes 6, polycubes 7, polycubes 8, polycubes 9.
Controls:
- Mouse lets you zoom in, zoom out and rotate around.
- Up/Down arrows are for moving to the previous/next polycube
- Left/Right arrows are for moving to theprevious/next polycube by the step indicated by the slider (default is 10^3=1000)
You can change the step value using the slider and it is in log10 scale so that you can jump to any index in a large dataset quickly. - Key 5 lets you reset the camera position
I also spend some part of my weekend working on the generation of all polycubes that fits across a 3x3x3 cube:
there are 1 551 811 of them, took 20min on my computer to compute with some Python script that I have optimized a bit since it was 90min at first.
Here are the dataset: zip archive (3.3MB) and txt file (50MB).
I hope you will find it useful.
There are many improvements that can be brought to this viewer, let me know if you think of good ones.
Edit 03/09/2023 : All linked files have been removed.