balls in a wall by Fit [web]
screenshot added by yzi on 2021-05-16 13:40:56
platform :
type :
release date : may 2021
release party : Outline 2021
compo : combined demo/intro
ranked : 3rd
  • 15
  • 1
  • 0
popularity : 50%
  • 0.94
alltime top: #14162
  • yzi yzi [code, music]
added on the 2021-05-16 13:40:56 by yzi yzi

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr


really good
rulez added on the 2021-05-16 14:18:43 by okkie okkie
Windows .exe size 3394 bytes (1080p version)

Using 4klang/ForkedKlang with my experimental Look-Up-Table unit, which maps the input signal to a value selected from a pre-defined array of values, "modulo N", so you can use it for arpeggios, scales etc. LUT unit output is written to a buffer from which the current value is taken and fed to a uniform for the shader, so it can use that for lighting up the corresponsing "light bulb". There are two LUT units and an additional transpose value, which are combined into the final pitch value, creating some kind of a "chord progression". The visuals are just basic path tracing with 100 rays per pixel, ambient light comes from a sky dome. The 720p version runs at 60 fps on RTX 2070 Super.

Here's what it currently looks like (sorry, I don't have a "release" version at the moment)

BB Image

To improve from here, I thought about allowing more than 7 values, and using note pattern data for storing the sequences.

Here's what the unit does in the intro, not optimized in any way, just to get it working. I hope the comments are right.

Code:export_func go4kLUT_func@0 %ifdef GO4K_USE_LUT push 8 call go4kTransformValues pushad fld dword [edx] ; count/128 in fdiv dword [c_i128] ; count in fldz ; 0 count in fucomip st2 ; count in jc lut_input_is_positive fsubr st1, st0 ; count count-in lut_input_is_positive: fxch ; in' count lut_skip_fxch: fdiv dword [c_i128] ; in'*128 count fprem ; (in'*128 mod count) count fstp st1 ; (in'*128 mod count) push eax fisttp dword [esp] pop eax inc eax ; skip count fld dword [edx + eax * 4] fsub dword [c_0_5] mov eax, dword [lut_unit_output_pos] lea eax, [lut_unit_output+eax*4] fst dword [eax] popad ret %endif

Crinkler is used for executable compression, and Shader Minifier for minifying the shader. Compofiller Studio is used for the demo framework, but it's not the plain vanilla version, I had to add some code for passing the LUT unit output values between the visuals and audio debug DLLs for the editing/authoring phase, and separately for the exe runtime code.

Youtube link: https://www.youtube.com/watch?v=eNmAm65Iyc4
The video quality on that is less than ideal. I uploaded a 3+ gigabyte lossless video, and Youtube transcoded it into that. Maybe it would look better if I had encoded it myself.
added on the 2021-05-16 14:34:36 by yzi yzi
shiny and ♥♪♫
rulez added on the 2021-05-16 14:39:02 by HellMood HellMood
This was neat, but maybe a bit too overboard with the dof in places.
rulez added on the 2021-05-16 15:08:31 by uncle-x uncle-x
rulez added on the 2021-05-16 15:26:14 by grz grz
me likes
rulez added on the 2021-05-16 17:44:44 by Sir Sir
nice one
rulez added on the 2021-05-16 20:17:45 by v3nom v3nom
Great. Also props for even more forked features :)
rulez added on the 2021-05-16 20:32:58 by gopher gopher
Those are balls, they are in a wall.
rulez added on the 2021-05-17 07:22:00 by Daddy Freddy Daddy Freddy
simple, but definitely has some idea
rulez added on the 2021-05-17 11:36:17 by frog frog
where can I see this installation?
rulez added on the 2021-05-17 12:30:25 by FMS_Cat FMS_Cat
Pretty nice concept.
rulez added on the 2021-05-17 12:39:59 by Preacher Preacher
Nice little lightning balls and synth music in 4kb
rulez added on the 2021-05-18 09:48:34 by Queen_Luna Queen_Luna
added on the 2021-06-10 17:27:00 by Frequent Frequent
awesome work !
rulez added on the 2021-11-02 00:19:29 by med med
juicy :)
rulez added on the 2021-11-02 00:46:41 by NR4 NR4
I hereby self-vote this prod. Tseh tseh poliisi systeemin vartija kisu kisu.
rulez added on the 2022-06-18 21:57:53 by yzi yzi

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment