Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattiasgustavsson/crtview
View any image with my CRT filter applied
https://github.com/mattiasgustavsson/crtview
Last synced: 3 months ago
JSON representation
View any image with my CRT filter applied
- Host: GitHub
- URL: https://github.com/mattiasgustavsson/crtview
- Owner: mattiasgustavsson
- Created: 2020-07-04T20:09:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T13:10:28.000Z (about 1 year ago)
- Last Synced: 2024-05-28T01:07:33.990Z (6 months ago)
- Language: C
- Size: 2.17 MB
- Stars: 279
- Watchers: 10
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
![build](https://github.com/mattiasgustavsson/crtview/actions/workflows/main.yml/badge.svg)
# crtview
View any image with my CRT filter applied
Use Up/Down cursor keys to toggle display mode
Use F11 to toggle fullscreen
ESC to exitPass the filename of your image as command-line parameter (or just drag-drop it onto the EXE)
Pre-built binaries can be found here: https://mattiasgustavsson.itch.io/crtview
Build instructions
------------------### Windows
From a Visual Studio command prompt:
```
cl source\main.c
```### Mac
```
clang source/main.c -lSDL2 -lGLEW -framework OpenGL
```SDL2 and GLEW are required - if you don't have then installed you can do so by running
```
brew install sdl2 glew
```### Linux
```
gcc source/main.c -lSDL2 -lGLEW -lGL -lm -lpthread
```SDL2 and GLEW are required - if you don't have them installed you can do so by running
```
sudo apt-get install libsdl2-dev
sudo apt-get install libglew-dev
```