fb39ca4 / badapple-ti84 Goto Github PK
View Code? Open in Web Editor NEWAs seen at https://youtu.be/6pAeWf3NPNU
License: Other
As seen at https://youtu.be/6pAeWf3NPNU
License: Other
Awesome work! I was able to get this working on wabbitemu, but it seems that there is no audio. Does TI-84 support any audio output, or it's just an emulator issue?
I want to open the .bin files to modify it into a song cover of my own, but I don't know how to open the files. Help?
So I modified the file "convertframes.py" to convert my Bad Apple video (containing only 400 frames because I have a ti-84 plus, with only 469kb of storage) to a binary file, every frame has the same size as what fb39ca4 used, but an error message popped up on line 21:
import png
import gzip
numFrames = 400 #### I changed 6572 to 400 because my calculator doesn't have enough storage
frameRange = range(1, numFrames + 1)
treshold = 127
usePFrames = 1
rawFrames = []
frameData = array('B')
idx = -1
for frameNum in frameRange:
originalData = png.Reader("C:\\Users\\bin\\frames\\badapple" + str(frameNum).zfill(3) + ".png").read_flat()[2]
pixelData = array('B')
for i in range(96 * 4, 96 * 68):
if (i & 7 == 0):
idx += 1;
frameData.append(1 if (originalData[3 * i + 1] > treshold) else 0) #### ERROR RIGHT HERE
print("loaded frame " + str(frameNum))
f = gzip.open('./frames.bin.gz', 'wb')
frameData.tofile(f)
f.close()
it says "IndexError: array index out of range". But I used the same frame size, what is causing the error here? How do I fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.