![]() |
libsxbp
v0.27
Experimental generation of 2D spiralling lines based on input binary data.
|
Struct type representing a Spiral figure, in any state of completion. More...
#include <saxbospiral.h>

Data Fields | |
| uint32_t | size |
| count of lines in the spiral | |
| sxbp_line_t * | lines |
| dynamic array of lines in the spiral | |
| bool | collides |
| whether this spiral collides or not | |
| uint32_t | solved_count |
| the count of lines solved so far (index of next line to solve) | |
| uint32_t | seconds_spent |
| the count of seconds spent solving the spiral More... | |
| uint32_t | seconds_accuracy |
stores the number of seconds' accuracy of the seconds_spent field | |
Struct type representing a Spiral figure, in any state of completion.
This is the most important data type in the whole library, and is passed to and from many different library functions. A partially-complete spiral object may be produced from binary data, and a fully-complete spiral may be produced from the partially complete one via the routines in the library.
| uint32_t sxbp_spiral_t::seconds_spent |
the count of seconds spent solving the spiral
This measures CPU compute-time, not wall-clock time. It is intended to give a semi-accurate figure for quantifying how much continuous compute-time was needed to generate a given spiral.
1.8.11