Skip to content

danilwhale/RaylibApple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

raylib apple

a bad apple animation, but animated in raylib using raylib logo

watch raylib apple animation: https://youtu.be/GST6euSX7I0

video summary

  • video downscale: 12x
  • logo size: 32px
  • resolution in logos: ~40 * ~30 logos
  • resolution in px: ~1280 * ~960 px
  • framerate: 30 fps

getting assets for animation

i didnt include assets of the animation, you need to do so yourself

get bad apple audio.mp4+video.mp4

you can use yt-dlp or any other tool to get mp4 file

we will use ffmpeg in next instructions to manipulate .mp4 files

extract audio from video.mp4

ffmpeg -i video.mp4 -q:a 0 -map a audio.mp3

extract .png sequence for animation

ffmpeg -i video.mp4 -vf fps=30 "Frames/out%d.png"

audio.mp3 MUST be in PATH/TO/REPO/RaylibApple/RaylibApple directory

out*.png animation's frames MUST be in PATH/TO/REPO/RaylibApple/RaylibApple/Frames

if you want to change locations, change them in RaylibApple/RaylibApple.csproj

About

a bad apple animation, but its raylib

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages