Change stuff to defaults
This commit is contained in:
parent
eb78d86d15
commit
154432720f
3 changed files with 6 additions and 193298 deletions
|
@ -1,4 +1,6 @@
|
||||||
# askiiart/marlin-auto-animation
|
# marlin-auto-animation
|
||||||
|
|
||||||
1. Specify the video path (must already be 5 fps) in `animator.py`
|
Automatically make an animated `_Bootscreen.h` from a video.
|
||||||
|
|
||||||
|
1. Specify the video path (`video = /path/to/video.mp4`) in `animator.py`
|
||||||
2. Run `python3 animator.py`
|
2. Run `python3 animator.py`
|
||||||
|
|
193294
_Bootscreen.h
193294
_Bootscreen.h
File diff suppressed because one or more lines are too long
|
@ -1,7 +1,7 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
output = './_Bootscreen.h'
|
output = './_Bootscreen.h'
|
||||||
video = '/home/ben/Videos/bad_apple_5fps.mp4'
|
video = '/path/to/video.mp4'
|
||||||
|
|
||||||
# Make video into xbm files
|
# Make video into xbm files
|
||||||
os.mkdir('temp')
|
os.mkdir('temp')
|
||||||
|
@ -68,4 +68,4 @@ for line in end_of_ending:
|
||||||
f.write(line + '\n')
|
f.write(line + '\n')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
#os.system('rm -r temp/')
|
os.system('rm -r temp/')
|
||||||
|
|
Loading…
Reference in a new issue