2022-08-03
Zoom videos are a genre of 2D fractal animation. The rendering of the final video can be accelerated by computing exponentially spaced rings around the zoom center, before reprojecting to a sequence of flat images.
Some fractal software supports rendering EXR keyframes in exponential map form, which zoomasm can assemble into a zoom video. zoomasm works from EXR, including raw iteration data, and colouring algorithms can be written in OpenGL shader source code fragments.
Home: https://mathr.co.uk/zoomasm
Code: https://code.mathr.co.uk/zoomasm
Support: mailto:zoomasm@mathr.co.uk?subject=zoomasm
Donate: https://ko-fi.com/claudeha
Download: zoomasm-3.1
Wurgo the Making Of with kf-2.15.2 and zoomasm-3.0 : https://archive.org/details/wurgo-the-making-of / https://diode.zone/videos/watch/5dd54244-90b4-423f-aae9-ae6545277c28 / https://www.youtube.com/watch?v=aTFtglO90T0
Making fractal zoom videos with kf-2.15.1 and zoomasm-1.0 : https://archive.org/details/making-fractal-zoom-videos-with-kf-2.15-and-zoomasm-1.0 / https://diode.zone/videos/watch/d0b5f2f2-2aef-4405-92e6-4459a96ae93b / https://www.youtube.com/watch?v=72IIn7C3UeI
Wurgo : https://archive.org/details/wurgo / https://diode.zone/videos/watch/5dd54244-90b4-423f-aae9-ae6545277c28 / https://www.youtube.com/watch?v=RpSpQ8kjRf0
Charred Bard : https://archive.org/details/charred-bard / https://diode.zone/videos/watch/a121d1fb-baeb-45c4-a867-afeadac4f7fd / https://www.youtube.com/watch?v=NMKBBk-yf_4
Special Branch : https://archive.org/details/special-branch / https://diode.zone/videos/watch/786b8320-b5aa-466f-a953-f6f814b59222 / https://www.youtube.com/watch?v=uQDV87vVIxk
kf-exp-map-flat-1 : https://archive.org/details/kf-exp-map-flat-1
64bit CPU and OS recommended:
8GB RAM recommended (works with 4GB at low resolutions).
GPU and drivers supporting OpenGL 3.3 or later (OpenGL 4 is used when available).
8GB GPU VRAM recommended (works with 512MB at low resolutions).
FFmpeg program binary.
Get KF https://mathr.co.uk/kf/kf.html#kf-2.15.
KF version 2.15.1+ is required for exponential map export.
KF version 2.15.2+ is required for OpenGL colouring.
Launch it and zoom to where you want. It is recommended to enable Derivatives computation for analytic distance and slope colouring in zoomasm. Enabling Jitter is also recommended to avoid Moiré artifacts. Disabling any distance and slope colouring in KF is recommended if you want to use the R G B channels with KF’s colours.
Set the Window Size in KF to 1152x128 (aspect ratio 9:1).
Set Image Size in KF to correspond to desired final video output resolution for 2D projection in zoomasm:
These are minimum recommendations, going bigger will give a higher quality final output video (you can go smaller too, for lower quality to save time).
Recommended image sizes for 360 projection in zoomasm:
The maximum keyframe size in zoomasm is limited by GPU capabilities, it is recommended to do a small test first to check that zoomasm will be able to handle your keyframes on your hardware. Check that you can fit the desired number of layers into video memory, for 2D projection 16 is ok, for 360 projection as many as 25 or more may be needed to avoid artifacts at the poles.
Activate Exponential Map in the View menu. You may use PageUp
and PageDown
to fine tune final zoom level. You want the bottom edge of the image to be a uniform colour (most often the interior colour).
Choose which EXR Channels you want to save.
Store the zoom out sequence (be sure to save EXR!).
Wait while it renders (this is often the slow part of the process). You may use the about dialog (? menu) to block accidental input. Alternatively you can render from the command line without any window at all.
Quit KF.
presets/*.glsl
. If a blank image results, pick a different one or check which image channels they need. You may also load a *.kfp
or *.kfr
palette with OpenGL GLSL colouring, as saved by Kalle’s Fraktaler version 2.15.2 or later.ffmpeg
(ffmpeg.exe
on Windows).output.mp4
). Select Output/Overwrite if the file already exists and you want to overwrite it.output.mp4
in VLC or similar.*.toml
).*.toml
). WARNING do not load session files from untrusted sources, because the path to the FFmpeg binary is stored in the file, which is invoked on load to get FFmpeg version information.*.7z
).*.wav
, *.flac
). Detected sample rate, channels and duration are displayed below.0.000s
(start of file).1.000x
.*.exr
).Colour button to choose colouring OpenGL GLSL shader fragment (*.glsl
) or Kalle’s Fraktaler palette (*.kfp
, *.kfr
) (kf-2.15.2 or later). Compilation status is displayed below including compilation error log. Examples in the presets/
folder include:
binary-decomposition.glsl
: works best with linear smoothing and a custom bailout radius of 25. Uses N
and T
image channels. Needs a high sample count not to look awful.
cycling-waves.glsl
: colour cycling demo. Uses N
and NF
image channels for the base colouring, as well as DEX
and DEY
for slope lighting effect. Uses getTime()
to animate colour cycling.
multiwave.glsl
: randomized fractal colour palettes based on an idea by Pauldelbrot. Use N
, NF
, DEX
, DEY
. Choose the seed value for the pseudo-random number generator at the top of the file.
rainbow-fringe.glsl
: simple black on white distance estimate with surrounding rainbows based on the DE direction. Uses the DEX
and DEY
image channels.
rgb-passthrough.glsl
: just passes through the R
, G
, B
image channels. Tends to look bad if the source keyframes used distance estimates or slopes in their colouring algorithm as the details near the center will be smaller than the edges (zoomasm has special compensation for the DEX
and DEY
channels).
text-overlay.glsl
: same as the previous, but with text overlay using getZoomLog2()
for zoom depth in 2x zoom levels, displayed in the top-right corner (assumes 16:9 aspect ratio).
WARNING do not load GLSL or KFP/KFR from untrusted sources, there is a possibility to crash graphics drivers if the shader has an infinite loop or similar.
Watch checkbox to reload shader automatically when it is changed (hit save in your favourite text editor, see live colouring changes). The last successfully compiled shader is kept instead of displaying a blank image on errors (this is better for live coding).
Samples per pixel can be increased for better quality (smoother appearance in the center, less “sparkling” during animation) but at higher computational cost (on the GPU).
Shutter speed can be adjusted for motion blur, between 0% and 100% of frame duration (see Output/FPS).
Projection offers a choice of video remapping options:
2D
is the most commonly used projection for zoom videos, it has a central focus and a rotation angle control.
360
is an equirectangular projection, for surround viewing with 3D rotation control (axis and angle). You can inject 360 metadata into encoded MP4 video files with the spatial media tool: https://github.com/google/spatial-media
Waypoints in the zoom animation are shown below.
The first (at the start of the soundtrack) and last (at the end of the soundtrack) cannot be deleted, the rest have a - button to remove them (permanently, no undo). If the Audio/Time slider is between two waypoints, a cursor appears in red, pressing its + button adds a new waypoint at that time.
Each waypoint has a Time button at the left, clicking this button jumps to that time in the audio playback. Each waypoint has a Z slider to set zoom depth (in terms of input EXR keyframe index) at the corresponding time (displayed on the left). The interpolation between waypoints is set by the Interpolation dropdown combo box, defaulting to (monotone) Cubic for smoother speed changes (other options are Step and Linear). Instantaneous zoom speed in 2x and 10x zooms per second is displayed below the cursor.
ffmpeg
(or ffmpeg.exe
on Windows) program binary. FFmpeg is needed for all formats apart from PPM image sequence. Detected ffmpeg
version is displayed below.*.mp4
, *.mkv
, *.mov
, *.ppm
). Saving to foo-.ppm
will write numbered frames starting foo-00000000.ppm
, foo-00000001.ppm
, etc. PPM is a simple lossless uncompressed binary bitmap image format with an ASCII metadata header at the start. It will take up a lot of space (21GB/min at 1920x1080p60) so it is recommended to encode directly with FFmpeg if possible, using any of the other formats.When no widget is active:
Space
to toggle pause/play (when not recording).Backspace
to reverse playback speed.Enter
or Return
to add a new waypoint at the current time.F9
to toggle the user interface transparency.F10
to toggle the user interface visibility.F11
to toggle fullscreen (only on primary monitor so far).You can press Tab
to navigate between widgets, and Ctrl
-clicking a slider allows to enter numbers more precisely.
--help
(-h
, -H
, -?
) displays zoomasm usage information.--version
(-v
, -V
) displays version information of zoomasm and its supporting libraries.--source
(-S
) exports zoomasm’s source code archive to a file in the current working directory.--fullscreen
(-f
) starts in fullscreen mode (on primary monitor).--no-fullscreen
(-F
) starts in windowed mode (default).--gui
(-g
) show GUI on startup (default).--no-gui
(-G
) hide GUI on startup.--record
(-r
) activates recording on startup and quits when it has finished. Requires a session filename to do anything useful.--no-record
(-R
) normal interactive mode (default).*.toml
) can be added to the command line, which will be loaded before anything else happens.For full details see src/main_frag.glsl
in the source distribution.
The GLSL shader (whether standalone or embedded in KFP/KFR) needs to define a function vec3 colour(void)
that returns linear-light RGB. For best results set Use sRGB on in KF to automatically convert the palette from sRGB to linear in zoomasm
getInterior()
Check if the pixel is unescaped interior.
getGlitch()
Check if the pixel is unevaluated or glitched or otherwise bad.
getN()
Gets the smooth iteration count. Only valid for non-glitch non-interior pixels. Returns a float49
type with higher precision than the 24 bits available in single precision float
. Due to lack of operator overloading in GLSL, you need to use functions like add()
, sub()
etc instead of usual maths. At the end you can use to_float()
when higher precision is no longer needed.
The raw channels can be retrieved with getN0()
, getN1()
, getNF()
. They are biased with an offset to avoid negative values. The offset is in the uniform variable IterationsBias
.
getT()
Get the phase channel.
getDE()
Get the distance estimate (DEX
and DEY
). zoomasm scales this so that it is relative to screenspace no matter the projection.
getRGB()
Get the colour stored in the input keyframes.
getCoord()
Get output coordinates, relative to the uniform variable ImageSize
. Origin is bottom left per OpenGL conventions.
KF_Colour()
Colour the pixel emulating KF’s KFP/KFR colouring. Parts of the algorithm are modularized, check KF’s user manual for details.
Whether you are building for Windows or for Linux, you need:
sudo apt install git wget xz-utils build-essential p7zip pandoc texlive-latex-recommended
-lstdc++fs
to the build commands in the Makefile
.sudo nano /etc/apt/sources.list
# add the line:
deb-src http://deb.debian.org/debian unstable main contrib non-free
# then save and exit nano
sudo apt update
sudo apt install devscripts debhelper
sudo apt build-dep ilmbase
sudo apt build-dep openexr
apt source ilmbase
cd ilmbase-*/
debuild -uc -us -b -d
cd ..
sudo dpkg -i *.deb
sudo apt --fix-broken install
apt source openexr
cd openexr-*/
debuild -uc -us -b -d
cd ..
sudo dpkg -i *.deb
sudo apt --fix-broken install
sudo apt install git libglew-dev libglfw3-dev libz-dev libopenexr-dev libfftw3-dev ffmpeg pkg-config
mkdir z
cd z
git clone https://code.mathr.co.uk/zoomasm.git
git clone https://github.com/ocornut/imgui.git
git clone https://github.com/AirGuanZ/imgui-filebrowser.git
git clone https://github.com/mackron/miniaudio.git
git clone https://github.com/marzer/tomlplusplus.git
cd zoomasm
make zoomasm
./zoomasm
sudo apt install mingw-w64 wine64 cmake unzip
-lstdc++fs
to the build commands in the Makefile
.mingw-w64 6.0.0-3
, which has a bug that prevents linking with the error:/usr/bin/x86_64-w64-mingw32-ld: \
/usr/lib/gcc/x86_64-w64-mingw32/8.3-win32/libstdc++fs.a(path.o):(.text$\
_ZNSt12experimental10filesystem2v17__cxx1116filesystem_error11_M_gen_whatEv+0x639):\
undefined reference to `std::filesystem::fs_err_concat(\
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, \
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, \
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
std::thread
etc, so configure that globally (you can ignore failures for gfortran and gnat if they are not installed):update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
update-alternatives --set x86_64-w64-mingw32-gfortran /usr/bin/x86_64-w64-mingw32-gfortran-posix
update-alternatives --set x86_64-w64-mingw32-gnat /usr/bin/x86_64-w64-mingw32-gnat-posix
update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix
update-alternatives --set i686-w64-mingw32-gfortran /usr/bin/i686-w64-mingw32-gfortran-posix
update-alternatives --set i686-w64-mingw32-gnat /usr/bin/i686-w64-mingw32-gnat-posix
zoomasm expects dependencies to be installed into ~/win/posix/x86_64/
(or ~/win/posix/i686/
for 32bit).
You need zlib:
mkdir -p ~/win/posix/x86_64/src
cd ~/win/posix/x86_64/src
wget -c https://zlib.net/zlib-1.2.12.tar.xz
tar xaf zlib-1.2.12.tar.xz
cd zlib-1.2.12/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
CC=x86_64-w64-mingw32-gcc ./configure --static --prefix=$HOME/win/posix/x86_64
CC=x86_64-w64-mingw32-gcc make -j "$(nproc)"
CC=x86_64-w64-mingw32-gcc make install
For 32bit:
mkdir -p ~/win/posix/i686/src
cd ~/win/posix/i686/src
wget -c https://zlib.net/zlib-1.2.12.tar.xz
tar xaf zlib-1.2.12.tar.xz
cd zlib-1.2.12/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
CC=i686-w64-mingw32-gcc ./configure --static --prefix=$HOME/win/posix/i686
CC=i686-w64-mingw32-gcc make -j "$(nproc)"
CC=i686-w64-mingw32-gcc make install
mkdir -p ~/win/posix/x86_64/src
cd ~/win/posix/x86_64/src
wget -c https://github.com/AcademySoftwareFoundation/openexr/archive/v2.5.8.tar.gz \
-O openexr-2.5.8.tar.gz
tar xaf openexr-2.5.8.tar.gz
cd openexr-2.5.8/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
mkdir -p build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake \
-DCMAKE_INSTALL_PREFIX=$HOME/win/posix/x86_64 -DCMAKE_CXX_FLAGS=-I$HOME/win/posix/x86_64/include \
-DZLIB_INCLUDE_DIR=$HOME/win/posix/x86_64/include -DZLIB_LIBRARY=$HOME/win/posix/x86_64/lib/libz.a ..
make -j "$(nproc)"
make install
For 32bit:
mkdir -p ~/win/posix/i686/src
cd ~/win/posix/i686/src
wget -c https://github.com/AcademySoftwareFoundation/openexr/archive/v2.5.8.tar.gz \
-O openexr-2.5.8.tar.gz
tar xaf openexr-2.5.8.tar.gz
cd openexr-2.5.8/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
sed -i "s/x86_64/i686/g" cmake/Toolchain-mingw.cmake
mkdir -p build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw.cmake \
-DCMAKE_INSTALL_PREFIX=$HOME/win/posix/i686 -DCMAKE_CXX_FLAGS=-I$HOME/win/posix/i686/include \
-DZLIB_INCLUDE_DIR=$HOME/win/posix/i686/include -DZLIB_LIBRARY=$HOME/win/posix/i686/lib/libz.a ..
make -j "$(nproc)"
make install
mkdir -p ~/win/posix/x86_64/src
cd ~/win/posix/x86_64/src
wget -c https://fftw.org/fftw-3.3.10.tar.gz
tar xaf fftw-3.3.10.tar.gz
cd fftw-3.3.10/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
./configure --host=x86_64-w64-mingw32 --prefix="${HOME}/win/posix/x86_64" \
--enable-static --disable-shared --disable-doc --disable-alloca \
--enable-sse2 --enable-avx --enable-avx2 --enable-avx512 --enable-avx-128-fma \
--enable-generic-simd128 --enable-generic-simd256 --enable-fma \
--disable-dependency-tracking --disable-fortran --disable-threads \
--with-our-malloc --with-our-malloc16 --with-incoming-stack-boundary=2 \
--enable-portable-binary
make -j "$(nproc)"
make install
make check
For 32bit:
mkdir -p ~/win/posix/i686/src
cd ~/win/posix/i686/src
wget -c https://fftw.org/fftw-3.3.10.tar.gz
tar xaf fftw-3.3.10.tar.gz
cd fftw-3.3.10/
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
./configure --host=i686-w64-mingw32 --prefix="${HOME}/win/posix/i686" \
--enable-static --disable-shared --disable-doc --disable-alloca \
--enable-sse2 --enable-avx --enable-avx2 --disable-avx512 --enable-avx-128-fma \
--enable-generic-simd128 --enable-generic-simd256 --enable-fma \
--disable-dependency-tracking --disable-fortran --disable-threads \
--with-our-malloc --with-our-malloc16 --with-incoming-stack-boundary=2 \
--enable-portable-binary
make -j "$(nproc)"
make install
make check
For 64bit:
mkdir -p ~/win/posix/x86_64/src
cd ~/win/posix/x86_64/src
wget -c https://github.com/glfw/glfw/releases/download/3.3.8/glfw-3.3.8.zip
unzip glfw-3.3.8.zip
cd glfw-3.3.8
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
mkdir -p build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../CMake/x86_64-w64-mingw32.cmake -DCMAKE_INSTALL_PREFIX=${HOME}/win/posix/x86_64 -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DGLFW_USE_HYBRID_HPG=ON ..
make -j "$(nproc)"
make install
For 32bit:
mkdir -p ~/win/posix/i686/src
cd ~/win/posix/i686/src
wget -c https://github.com/glfw/glfw/releases/download/3.3.8/glfw-3.3.8.zip
unzip glfw-3.3.8.zip
cd glfw-3.3.8
export CPPFLAGS="-D__USE_MINGW_ANSI_STDIO=1"
export LDFLAGS="-static-libgcc -static-libstdc++ -Wl,-Bstatic -lpthread -Wl,-Bdynamic"
mkdir -p build
cd build
cmake -DCMAKE_TOOLCHAIN_FILE=../CMake/i686-w64-mingw32.cmake -DCMAKE_INSTALL_PREFIX=${HOME}/win/posix/i686 -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DGLFW_USE_HYBRID_HPG=ON ..
make -j "$(nproc)"
make install
mkdir -p ~/win/posix/x86_64/src
cd ~/win/posix/x86_64/src
git clone https://code.mathr.co.uk/zoomasm.git
git clone https://github.com/ocornut/imgui.git
git clone https://github.com/AirGuanZ/imgui-filebrowser.git
git clone https://github.com/mackron/miniaudio.git
git clone https://github.com/marzer/tomlplusplus.git
wget -c https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz
tar xaf glew-2.2.0.tgz
cd zoomasm
make zoomasm.i686.exe
make zoomasm.x86_64.exe
wine zoomasm.i686.exe
wine zoomasm.x86_64.exe
To encode videos, zoomasm.exe
needs ffmpeg.exe
. Builds are available via: https://ffmpeg.org/download.html#build-windows.
N0
+ N1
channels as well as just N
; for very high iteration counts..glsl
file.Makefile
to support parallel builds and object reuse.zoomasm/
COPYING.md
: GNU Affero General Public License.README.md
: documentation.INDEX.txt
: list of files to include in source code release bundles. Remember to update when adding/removing files, and check that the source code release bundles build correctly.VERSION.txt
: current zoomasm version. Should not be checked into version control (it is regenerated from git version information).zoomasm.css
: style sheet for HTML website.zoomasm.png
: screenshot for documentation.Makefile
: build system.zoomasm/src/
s2c.sh
: build system helper (text file contents to C source code).audio.cc
, audio.h
: audio playback and realtime scheduling.colour.cc
, colour.h
, main_frag.glsl
, main_vert.glsl
: colouring shader management.ffmpeg.cc
, ffmpeg.h
: interface to FFmpeg process.input.cc
, input.h
: input EXR keyframe loading.main.cc
: main programoutput.cc
, output.h
: recording from OpenGL, and encoder setttings.process.h
, process_posix.cc
, process_win32.cc
: abstraction for launching subprocesses with bidirectional communication on different operating systems.resource.h
: common constants.session.cc
, session.h
: session management, version information and source code archive export.timeline.cc
, timeline.h
: waypoint sequencing.utility.cc
, utility.h
: miscellaneous utilities.gdb
:handle SIGPIPE nostop noprint pass
Releases are signed with GPG key id EC470ECD90DDE39B6ED67CA6EBC1FED7E3FA39B0
.
zoomasm-3.1.7z
(sig)zoomasm-3.1-win.7z
(sig)#if ZOOMASM_VERSION_MIN(3,1)
to adapt to actual zoomasm version.miniaudio
API (0.11.9).~/win/posix/$arch
.zlib
to 1.2.12.openexr
to 2.5.8.fftw
to 3.3.10.glfw
to 3.3.8.imgui
, ìmgui-filebrowser
, miniaudio
, and tomlplusplus
to latest versions.zoomasm-3.0.7z
(sig)zoomasm-3.0-win.7z
(sig)vec3 colour(void)
and call getX()
functions instead of having everything as arguments. See the manual for API documentation.presets/
in a subfolder of the distributionopenexr
to 2.5.5glew
to 2.2.0glfw
to 3.3.3imgui
, ìmgui-filebrowser
, miniaudio
, and tomlplusplus
to latest versions.zoomasm-2.1.7z
(sig)zoomasm-2.1-win.7z
(sig)Z
of the XYZT
colouring parameter is now per-pixel.DE
in 360 projection.imgui
.~/win/64/posix
.openexr
to 2.5.4fftw
to 3.3.9imgui
, ìmgui-filebrowser
, miniaudio
, and tomlplusplus
to latest versions.zoomasm-2.0.7z
(sig)zoomasm-2.0-win.7z
(sig)multiwave.glsl
example colouring preset.texelFetch()
instead of texture()
(prevents flickering boxes which might have been an amdgpu driver bug)._spawnv()
.zoomasm-1.1.7z
(sig)zoomasm-1.1-win.7z
(sig)F9
key toggles user interface transparency..ppm
output file saves an image sequence without FFmpeg.imgui
changes.exrsubsample
can be used without worrying about edge effects.presets/
folder in Windows distribution.imgui
, miniaudio
, tomlplusplus
to latest versions. miniaudio
needed a small patch to build as C++ void*
casts must be explicit (unlike as in C); this will hopefully be fixed upstream soon.zoomasm-1.0.7z
(sig)zoomasm-1.0.exe.7z
(sig)zoomasm – zoom video assembler
Copyright (C) 2019,2020,2021,2022 Claude Heiland-Allen
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.
FFTW is used under GPL license (version 2 or later) http://fftw.org/
FFTW is Copyright © 2003, 2007-11 Matteo Frigo, Copyright © 2003, 2007-11 Massachusetts Institute of Technology.
FFTW is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. You can also find the GPL on the GNU web site: http://www.gnu.org/licenses/gpl-2.0.html
GLEW is used under the Modified BSD License, the Mesa 3-D License (MIT) and the Khronos License (MIT). http://glew.sourceforge.net/
The OpenGL Extension Wrangler Library
Copyright (C) 2008-2016, Nigel Stewart <nigels
[]
users sourceforge net>
Copyright (C) 2002-2008, Milan Ikits <milan ikits
[]
ieee org>
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo
[]
debian org>
Copyright (C) 2002, Lev Povalahev
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- The name of the author may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Mesa 3-D graphics library
Version: 7.0
Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Copyright (c) 2007 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and/or associated documentation files (the “Materials”), to deal in the Materials without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Materials, and to permit persons to whom the Materials are furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Materials.
THE MATERIALS ARE PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
GLFW is used under zlib/libpng license (BSD-style) https://www.glfw.org/
Copyright © 2002-2006 Marcus Geelnard
Copyright © 2006-2019 Camilla Löwy
This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source distribution.
imgui is used under MIT license (with public domain portions) https://www.dearimgui.org/
The MIT License (MIT)
Copyright (c) 2014-2021 Omar Cornut
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
imgui-filebrowser is used under MIT license https://github.com/AirGuanZ/imgui-filebrowser
MIT License
Copyright (c) 2019-2020 Zhuang Guan
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
miniaudio is used under MIT-0 license (or public domain) https://miniaud.io/
This software is available as a choice of the following licenses. Choose whichever you prefer.
ALTERNATIVE 1 - Public Domain
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
For more information, please refer to http://unlicense.org/
ALTERNATIVE 2 - MIT No Attribution
Copyright 2020 David Reid
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
OpenEXR is used under OpenEXR license (BSD-style) https://www.openexr.com/
Copyright Contributors to the OpenEXR Project. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
QD (portions ported from C++ to GLSL) is used under the QD license:
- Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the University of California, Lawrence Berkeley National Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- You are under no obligation whatsoever to provide any bug fixes, patches, or upgrades to the features, functionality or performance of the source code (“Enhancements”) to anyone; however, if you choose to make your Enhancements available either publicly, or directly to Lawrence Berkeley National Laboratory, without imposing a separate written license agreement for such Enhancements, then you hereby grant the following license: a non-exclusive, royalty-free perpetual license to install, use, modify, prepare derivative works, incorporate into other computer software, distribute, and sublicense such enhancements or derivative works thereof, in binary and source code form.
toml++ is used under MIT license https://github.com/marzer/tomlplusplus
MIT License
Copyright (c) Mark Gillard <mark.gillard
[]
outlook.com.au>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
zlib is used under zlib license (BSD-style) https://zlib.net/
Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
This software is provided ‘as-is’, without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
- The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
- This notice may not be removed or altered from any source distribution.
Jean-loup Gailly Mark Adler
jloup
[]
gzip.org madler[]
alumni.caltech.edu