C code that make nice posters

Overview

ProgrammingPosters

C that that make nice posters of short C programs.

This generates A2 300D DPI images of programs that implement intresting graphics.

Hopefully these will encouage the viewer to look at the code and see how it runs.

Rules for inclusion

  • Must only use standard C libraries
  • All code fits on the poster
  • Code is sensibly indented
  • Reasonable level of error checking
  • No external dependancies

The 'pnmtojpeg' tool, part of netpbm, is used to convert the 'PNM P6' output files to a compressed JPG image.

(I bent the rules slightly for planet.jpg, allowing it to pull down a texture from NASA)

Known Issues

  • the Makefile is a mess

Building

If you have gcc and netpmb installed you should be just able to type make The images will be in the output directory

Previews of posters

Alt text Alt text Alt text Alt text Alt text Alt text Alt text

You might also like...
Cmusic source code, based on the CARL 0.2.0 distribution

CMUSIC These are the sources and makefiles for a build of the classic CARL cmusic and related programs. The build has been tested on OSX and Linux, an

Supplemental source code for "A Halfedge Refinement Rule for Parallel Catmull-Clark Subdivision".

This repository provides source code to reproduce some of the results of my paper "A Halfedge Refinement Rule for Parallel Catmull-Clark Subdivision". The key contribution of this paper is to provide super simple algorithms to compute Catmull-Clark subdivision in parallel with support for semi-sharp creases. The algorithms are compiled in the C header-only library CatmullClark.h. In addition you will find a direct GLSL port of these algorithms in the glsl/ folder. For various usage examples, see the examples/ folder.

This repository contains notes and starter code for Bit manipulation and mathematics session for DSA bootcamp organized by Codeflows.

Bitmanipulation_maths This repository contains notes and starter code for Bit manipulation and mathematics session for DSA bootcamp organized by Codef

C++ OpenGL 3D Game Tutorial Series - Learn to code an OpenGL 3D Game in C++ from scratch
C++ OpenGL 3D Game Tutorial Series - Learn to code an OpenGL 3D Game in C++ from scratch

C++ OpenGL 3D Game Tutorial Series is a YouTube Tutorial Series, whose purpose is to help all those who want to take their first steps in the game dev

Some C code I wrote while learning the Lua C API

Lua-C-API A personal repo where I push things while I'm learning the Lua C API! Feel free to contribute :) Building If you want to build this, you'll

A reliable and easy to use CPP program header file for simplifying, code writing in cpp

CPP Custom Header This header file main purpose is to implement most famous and most used algorithm that are easy to implement but quite lengthy and t

This is the Godown ( warehouse) for C++ code

Codown of CPP This is the Godown ( warehouse) of C++ codes thats why I named it codown of CPP. Here, I provided the lots of examples on C++ programing

 C - A repository containing C code samples and concepts for beginners.
C - A repository containing C code samples and concepts for beginners.

C - A repository containing C code samples and concepts for beginners. A repository containing C concepts I made when I was bored. You can also use th

All those who are willing to participate in the 7-day coding event Commit-Your-Code organized by GDSC, UIET have to fork this repository and contribute their solutions as per defined rules.

👩🏻‍💻 Commit-Ur-Code 👨🏻‍💻 GDSC UIET KUK 📍 , welcomes you all to this amazing event where you will be introduced to the world of coding 💻 . It i

Comments
  • Feature request: please include option for anaglyph or Holmes stereoscopic output

    Feature request: please include option for anaglyph or Holmes stereoscopic output

    I've never been great with graphic aspects of programming as a text & data wrangler.

    It would be nice to have an option for stereoscopic outputs like Anaglyphs, classic Stereoscope side-by-side (Holmes), etc. I don't think it would be too hard for 2 passes at different angles. Then have netpbm blend the two images as an anaglyph or placed in the Holmes style.

    Thanks in advance for your consideration.

    opened by makergamer 0
Owner
Mike Field
Mike Field
T# Programming Language. Interpreted language. In development. I will make this compilable later.

The T# Programming Language WARNING! THIS LANGUAGE IS A WORK IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! Install Install $ make

T# 91 Jun 24, 2022
Hello, I am creating this file to make everyone understand the basis of C++ language which is actually the advanced version of C but better than C because of its OOPs feature.

Hello-in-C++ ?? ?? FOR BEGINNERS IN C++ Hello, I am creating this file to make everyone understand the basics of C++ language which is actually the ad

Ankita Mohan 2 Dec 27, 2021
Programming-Basics - This Repository Contains source codes of various programming languages. Please Contribute to make this Useful.

Programming-Basics About ❓ Want To Start your Open-Source Journey Without Facing Difficulties?,If Yes, Then You Are at The Right Place! ?? Don't Know

Mr. Ånand 67 Dec 8, 2022
Code profiler based on Frida

Code Profiler Based on Frida This repository contains the code to profile LIEF functions with Frida. Get Started Make sure to download the right versi

LIEF 26 Sep 12, 2022
An Repositery with Ghost eShop Homebrew Source Code

Ghost-Eshop-Alternative-3DS An Alternative eShop for Nintendo 3DS This is a clone of Universal-Updater Download Requirement -Latest version available

Ghost0159 42 Dec 26, 2022
Public Code Repository of the iRotate Active SLAM for Omnidirectional robots at the Max Planck Institute for Intelligent Systems, Tübingen

iRotate: Active Visual SLAM for Omnidirectional Robots This repository contains the code of iRotate, an active V-SLAM method submitted to RA-L + IROS2

Elia Bonetto 36 Nov 25, 2022
BRL-CAD's main source code

BRL-CAD Release 7.32.4 http://brlcad.org/ BRL-CAD is a powerful cross-platform open source combinatorial solid modeling system that incl

BRL-CAD 220 Dec 30, 2022
This is the code repository for my book C++20 - Get the Details.

Cpp20 This is the code repository for my book C++20 - Get the Details. It has more than 200 running examples. The names of the directories reflect the

Rainer Grimm 45 Dec 31, 2022
Simulation code for the specific PDP-10 serial number 32 at the Stanford A. I. Lab in 1974 as a solo processor with all the I/O devices simulated as on the PDP-10. Omit the co-processor PDP-6 sn16.

KA10 sn32 Synopsis This repository contains software and documentation for running the unique PDP-10 KA serial number 32 that was at Stanford in July

Saildart Archive 4 Aug 7, 2021
This repo consists of aditya verma youtube channel code for different section.

Aditya-verma-youtube-playlist-code This repo consists of aditya verma youtube channel code for different section, I am still working this soon it will

Shivendra k jha 331 Jan 4, 2023