A downloadable game

There are two commands, one generates a higher resolution with a lot more arms.

Here is a low res, with 5 arms. I wanted to try 90, but I ran out of time to render it.

Download

Download
main.cxx 81 kB

Install instructions

# Feel free to get rid of all these options, but C++20 is required.
g++-11 -U_FORTIFY_SOURCE -fstack-protector \
  -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object \
  -fno-omit-frame-pointer -g0 -O3 '-D_FORTIFY_SOURCE=1' -DNDEBUG \
  -ffunction-sections -fdata-sections '-std=c++20' \
  -Wno-inline -Wimplicit-fallthrough -Werror -Wall -Wextra -Wshadow \
  -Wundef -fno-common -Wno-unused-parameter -g3 \
  src/main.cxx
# Don't forget to clear the cache! The cache lets it resume up to the
# sample_index already achieved. But if you forget to clear the cache,
# reuse the old samples even if you changed the command line arguments
# or recompiled.
rm -R ./cache/
# If you don't create the cache directory, it will error.
mkdir -p ./cache/
# Low resolution
./a.out --path $PWD --name name  \
  --resolution 256 --spp 4 \
  --number_of_grape_rows 5 --grapes_per_row 5 \
  --grape_radius_scale 1
# High resolution, yolo, dunno how many supercomputers are required to run this!
./a.out --path $PWD --name name \
  --resolution 4096 --spp 1024 \
  --number_of_grape_rows 90 --grapes_per_row 90 \
  --grape_radius_scale 1

Leave a comment

Log in with itch.io to leave a comment.