w23 / bepct4k Goto Github PK
View Code? Open in Web Editor NEW4k intro framework in pure assembly. No Visual Studio required!
4k intro framework in pure assembly. No Visual Studio required!
Calculation time with Samples per tick works wrong, if you have 140 bpm music.
push SAMPLES_PER_TICK * 8 * 4
This time doesn't match anything real usesefull ;)
It's mutch better to to calculate time in real seconds not in strange ticks.
push SAMPLE_RATE * 2 * 4; ; SAMPLE_RATE = 44100
The problem with GetAsyncKeyState, MSDN says:
Determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.
You need to call
push 01bH ;ESC key code for GetAsyncKeyState
call GetAsyncKeyState ; RESET KEYS STATES
Before asking a key for exit from application
call GetAsyncKeyState
jz mainloop
Make it possible to work on shader and build final intro exe on Linux.
I really want to have a Linux version of this wonderful tools . =)
This framework/toolchain needs the following tools to work:
Figure whether their licenses allow them to be bundled with releases of this framework.
If not, add a script to download all deps
Make a single-click bat file to dump 4klang music into wav and raw files.
This utility needs to be written in assembly to not introduce additional dependencies.
User needs to see roughly what is current position in into timeline and what is the looped region.
The ideas is to make it possible to quickly make builds with any combination of these configurations:
Adding scripts for all of these combinations would be prohibitive. Maybe a simple config file loaded by bat file would be enough?
We need to be able to make a perfect 1080p60 video+audio capture regardless of machine performance with good compression quality w/o major artifacts.
Run a bat file and get a result mp4/mkv after a few dozen minutes.
Pipe video frames to ffmpeg and audio being fed as a pre-recorded file.
Showing shader program log is unconditionally commented out. It should be compiled in in DEBUG mode, but only show if there was something to show. Debug build should not exit if there were no errors.
Can linebreaks be inserted back for debug build?
Do not depend on bonzomatic/shadertoy.
Make a simple (assembly?) shader editing tool which:
Possible advanced features:
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.