Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
mona lisa thing
C
branch: master

This branch is 21 commits ahead of mackstann:master

Merge pull request #2 from naodesu/master

Some bugfixes and DNA reading / writing.
latest commit bf4b0ace29
@Alloyed authored
Failed to load latest commit information.
LICENSE changeball, see below the fold
Makefile Building WITH_SDL by default.
README.md Building WITH_SDL by default.
diff.c Fixed proper bytes extraction order (BGRA).
diff.cu CUDA works now
diff.h CUDA works now
mona.c Periodical DNA writing and reading initial DNA.
mona.h
mona.png initial commit
velociraptor.png

README.md

not reddit mona lisa meme thing in c.

This fork (c) Kyle Mclamb, MIT License. originally written by nick welch nick@incise.org.

COMPILE

You need everything listed here:

apt-get install build-essential pkg-config libcairo2-dev libsdl2-dev

If you want to use nvideo try:

apt-get install nvidia-cuda-toolkit

That's just nvcc and the runtime, I think.

As far as I know POSIX is required but not anything linux-specific. I have not, however, tried actually compiling with FreeBSD/Mac OSX/MinGW. Have fun.

To actually compile:

make

That's it. you can use WITH_CUDA=yes to cuda, WITH_SDL=no to only require cairo.

USE

./mona -h

will tell you about the current array of command line flags available to you. Don't ask about the abbreviations, please.

CONTRIBUTING

submit pull requests, or just fork and tell me about it. The code is a bit hairy and slow, be warned.

Something went wrong with that request. Please try again.