# LRSketch

*suckless, public domain raster drawing program made for the benefit of all
living beings*

Be sure to check out the manual in `./media/manual.txt' for some extra
information on the software as well as instructions.

LRSketch is a suckless, minimalist raster drawing program primarily designed for
making aliased artwork, including sketching, spriting, and generally low-res
drawing. This is both an experiment with a software design philosophy that has
given Anarch[1] and Licar[2] great results where it was applied, and a program
brought from a desire for an art program that will not only truly serve the
people, but will also last years, if not decades, even with constant breaking of
dependencies and whatever monstrous phenomena have been inflicted on "modern"
software.

## What Makes This Special

- **Free software, completely in the public domain.** Both legal AND practical
  freedom is given to the user to do whatever they would like.
- **Highly portable**, can run on many computers and operating systems /
  libraries. So far was ported to:
  - GNU/Linux (SDL2, SDL1.2, X11)
  - Window$ (SDL2)
  - SmallAbstractFish
- **Relatively minimalist, has only essentials for making beautiful art by
  default.**
  - 16-bit color in RGB565 format
  - 11 drawing modes, including freedraw, color picking, copy/paste, and shape
    drawing.
  - Supports LRSP and PPM P6 format images
  - Variable zoom
- **Low hardware demands.** Default settings (320x200 image and clipboard) take
  around 256kb of RAM, CPU usage should be low. Both can be reduced by changing
  settings.
- **Only uses fixed-point integer math,** good for systems lacking an FPU.
- **Usable with only 6 keys.**
- **This is finished software.** It does not need to be constantly updated or
  maintained.
- **No COCs, mascots, pride flags, auto-updates, planned obsolescence or other
  similar bullshit.** This is not a "FOSS" pseudoleftist propaganda device or a
  hot new "product" to consume, this is simply an art program.

## Licensing

**Everything here is CC0, solidified with a wavier of IP rights; do absolutely
WHATEVER you want**

Everything made by blitzdoughnuts in this repository, alongside all borrowed
material from Miloslav Ciz, is licensed and waived under either Creative Commons
0, alongside a full waiver of all rights, given below. For additional legal
details, see **DOCS/LICENSES.txt** and **DOCS/WAIVER.txt**.

This work makes use of several pieces of works from Miloslav Ciz (drummyfish),
which are all licensed under Creative Commons 0 and accompanied by the waiver
seen below, and can be found both inside of the program code and listed below:
- 4x4 monospace font by drummyfish, specifically copied from Anarch[1]
- Integer-to-string conversion function from Anarch[1]
- line and circle drawing algorithms, borrowed from SAF[3]
- RGB565 to RGB888 formula from the LRS Wiki[4]
- RGB565 to RGB332 formula from Licar[2]

This work's goal is to never be encumbered by any exclusive intellectual
property rights, it is intended to always stay completely and forever in the
public domain, available for any use whatsoever.

I therefore release everything in this repository under CC0 1.0 (public domain,
https://creativecommons.org/publicdomain/zero/1.0/) + a waiver of all other IP
rights (including patents), which is as follows:

*Each contributor to this work agrees that they waive any exclusive rights,
including but not limited to copyright, patents, trademark, trade dress,
industrial design, plant varieties and trade secrets, to any and all ideas,
concepts, processes, discoveries, improvements and inventions conceived,
discovered, made, designed, researched or developed by the contributor either
solely or jointly with others, which relate to this work or result from this
work. Should any waiver of such right be judged legally invalid or ineffective
under applicable law, the contributor hereby grants to each affected person a
royalty-free, non transferable, non sublicensable, non exclusive, irrevocable
and unconditional license to this right.*

[1] https://git.coom.tech/drummyfish/Anarch
[2] https://git.coom.tech/drummyfish/Licar
[3] https://git.coom.tech/drummyfish/saf
[4] https://git.coom.tech/drummyfish/less_retarded_wiki
.
