Skip to content

Bumblebee00/simple-rasterizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The script main.c is a simple rasterizer in c, i.e. it draws on screen geometric objects. It's intended to use with ffmpeg to create videos, using the following commands (also in create_video.sh):

mkdir tmp_dirx
cd tmp_dirx
gcc ../main.c
./a.out
ffmpeg -i %d.png -pix_fmt yuv420p output.mp4
rm *.png
mv output.mp4 ../videos/output.mp4
cd ..
rm -rf tmp_dirx

I originally started this project to create this:

disappearing_effect.mp4

A video of a rotating cube with the peculiarity that the cube disappears when pausing the video!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors