Zebrain by Brainlez Coders! & The Planet Of Leather Moomins [web]
screenshot added by distance on 2019-11-09 23:35:35
platform :
type :
release date : november 2019
release party : Demosplash 2019
compo : combined demo
ranked : 1st
  • 39
  • 3
  • 0
popularity : 62%
  • 0.93
alltime top: #3012
added on the 2019-11-09 23:35:35 by distance distance

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr


Size: 4k

code: pestis / bC!
music: distance / TPOLM
ascii: apollo / bC!

Target platform: MATLAB r2019b - win64

Src: http://bit.ly/zebrain

Self-executable ZIP, pcode, zopfli, custom minifier, SoundBox.js (player ported), load('mri').

AFAIK the world's first full-length demoscene product on MATLAB.
added on the 2019-11-09 23:50:40 by pestis pestis
from what I've seen on the stream: holy shit

but I can't get this to run as it wants 128G of RAM, not even the uni servers have this :/
rulez added on the 2019-11-10 00:20:26 by porocyon porocyon
Does this really need 128GB of memory?
added on the 2019-11-10 00:35:47 by noby noby
No, it does not (should not) need 128G of memory, maybe a new unknown issue? Send more details e.g. through GitHub and I'll investigate. It has known issues on 4K monitors though; for that, try changing to a lower resolution before running.
added on the 2019-11-10 00:41:12 by pestis pestis
Immediately upon invocation:
Requested 17094516516x1 (127.4GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become
unresponsive. See array size limit or preference panel for more information.

After disabling "Limit the maximum array size to a percentage of RAM"
Out of memory. Type "help memory" for your options.

I have 32GB physical available and several more in swap. My main monitor is 2560x1440. I'll see if messing with that changes anything.
added on the 2019-11-10 00:45:24 by noby noby
thumb for memory
rulez added on the 2019-11-10 00:50:47 by halcy halcy
Tried it on 1366x768 (via X11 forwarding to the uni servers), R2019a. They have 16G RAM and 8G swap, Ubuntu 18.04.3 LTS.
added on the 2019-11-10 00:52:47 by porocyon porocyon
I suspect this is a character encoding issue on linux; song data is in strings and a char 255 in wrong place would result an array of 2^255 elements getting allocated... When I have time, I'll provide a fallback version that doesn't use strings, let's see if it helps.
added on the 2019-11-10 01:07:38 by pestis pestis
noby uses Windows
added on the 2019-11-10 01:08:29 by porocyon porocyon
really fascinating platform choice and execution, thanks for providing the source too!

(i'd try running this myself but i suspect my university ssh account is long dead)
rulez added on the 2019-11-10 05:55:55 by Revenant Revenant
Can't test on anything, but this is amazing anyway
rulez added on the 2019-11-10 07:31:05 by provod provod
To people having issues with excessive memory usage: it is due to MATLAB character encoding being other than 'windows-1252'. As a quick fix, run
before starting the intro.
added on the 2019-11-10 08:34:11 by pestis pestis
The above is indeed the fix it needed.

Really wonderful stuff! Haven't seen something like this since... the early 2000s days of replay, ephidrena and others. Pleasant colors, simple but beautiful music, just bits of matter living in a digital space. Put me in a really good mood.

The viability—or even validity—of Matlab is of course questionable, especially considering is this an intro at all. But then again all demos are essentially just binaries executed against some kind of an abstract machine description, and maybe Matlab can be one of those too. At least the results speak for themselves.
rulez added on the 2019-11-10 11:49:12 by noby noby
Like this !
rulez added on the 2019-11-10 12:36:54 by Black Dragon Black Dragon
Great style, music, sync, and insane platform!
rulez added on the 2019-11-10 16:51:16 by mantratronic mantratronic
Yep, I can confirm it works with that workaround now. (Except it's at <1 FPS because X11 forwarding... will try on campus after the weekend.)
added on the 2019-11-10 17:07:09 by porocyon porocyon
old good Replay style
rulez added on the 2019-11-10 17:07:20 by Manwe Manwe
Thumb up for atmosphere of the beginning of 2000 :)
rulez added on the 2019-11-10 17:08:07 by bitl bitl
Also if browsers are a valid platform for 4ks, Matlab is too, imo.
added on the 2019-11-10 17:19:23 by porocyon porocyon
valid platform

imho there is only one way to confirm the validity: "can someone make a demo for it?" followed by "has there been a demo for it?" :-)

anyway, do pouet platforms need to be subdivided now? :-)

and yes, nice demo!
rulez added on the 2019-11-10 18:37:30 by LiSU^TRS LiSU^TRS
Update: the memory allocation crash should now have been fixed. Fixed version can be downloaded from GitHub. The fix also saved some bytes, so porocyon & noby got their names into the greets for filing the bug report.
added on the 2019-11-10 19:48:48 by pestis pestis
rulez added on the 2019-11-10 21:26:33 by Mystra Mystra
great intro & very refreshing to see this 2000's aesthetics :)
(also, very nice job with Soundbox)
rulez added on the 2019-11-11 00:40:28 by wullon wullon
best matlab 4k i ever saw!
rulez added on the 2019-11-11 01:06:56 by psenough psenough
I would like to say that the "2000's aesthetics" is very much intentional, but part of it is simply due to MATLAB having no programmable shaders, or not even blend modes... There is just flat & gouraud interpolation, with some specular-ambient-diffuse lighting model for the vertices. Blending is just alpha blending, but at least it has depth peeling so early 2000's issues with correct z-ordering for alpha blending are not there :) So those are the biggest handicaps.

On the positive side, MATLAB has no namespaces. For anything serious, that is almost unbearable, but it is great for size coding: no lines wasted for imports. Standard library also comes with bunch of nice functions for demo coding, for example spline interpolation, audioplayer etc... Everything is just a few lines away; the overhead for getting something on screen and playing is very minimal. And compact matrix/vector/complex number notation is of course the king.

Oh, and it ships with MRI-data of someone's brain.
added on the 2019-11-11 09:16:36 by pestis pestis
Sweet indeed!
rulez added on the 2019-11-11 12:52:22 by marcus256 marcus256
cool idea!
rulez added on the 2019-11-11 13:41:56 by MKM MKM
nice work!
rulez added on the 2019-11-11 19:09:41 by blackpawn blackpawn
Looks Like à replay démo from the golden ages
rulez added on the 2019-11-11 20:53:58 by nytrik nytrik
this is fab!
rulez added on the 2019-11-12 10:00:19 by ferris ferris
great aesthetics
rulez added on the 2019-11-12 12:44:44 by Alpha C Alpha C
Ambient math!
rulez added on the 2019-11-15 11:16:41 by rloaderro rloaderro
added on the 2019-11-15 19:06:07 by AntDude AntDude
a superb one
rulez added on the 2019-11-16 13:01:55 by chlumpie chlumpie
Awesome :)
rulez added on the 2019-11-16 14:24:15 by Sapphire Sapphire
great stuff
rulez added on the 2019-11-16 17:00:43 by SiR SiR
rulez added on the 2019-11-16 19:23:03 by Flashira Flashira
Pretty cool!
Good vibe and thanks a ton for the greetings (@__@)
rulez added on the 2019-11-20 15:53:54 by p01 p01
The aesthetic is king. 2000's or not.

Some kind of explanation on what exactly is done would be nice. Does MATLAB just allow to define arbitrary 3D geometry and a camera and just get it rendered? Assuming yes?
rulez added on the 2019-11-20 16:21:36 by Trilkk Trilkk
added on the 2019-11-21 14:09:42 by hollowone hollowone
Early 2000s + Platform thumb
rulez added on the 2019-11-21 14:33:08 by Saga Musix Saga Musix
rulez added on the 2019-11-21 18:53:41 by seppjo seppjo
rulez added on the 2019-11-30 00:13:36 by gentleman gentleman
Matlab 4k, just WOW :)
rulez added on the 2019-12-05 18:34:58 by tifeco tifeco
rulez added on the 2019-12-08 12:18:58 by Frequent Frequent
Cool relaxing demo for MATLAB with 128gb RAM just saw it on MDT9k
rulez added on the 2019-12-27 22:28:18 by Queen_Luna Queen_Luna
This is definitely a very good 4k intro, and the platform is an additional big plus.
rulez added on the 2020-01-22 11:06:57 by Adok Adok
rulez added on the 2020-05-06 20:19:19 by kimi kardashian kimi kardashian
rulez added on the 2020-05-10 17:42:56 by cxw cxw
rulez added on the 2021-03-04 13:25:37 by wrighter wrighter
rulez added on the 2022-02-12 10:21:51 by HellMood HellMood
Nice idea, very cool!

You can kind of recognize the matlab style
and it is used in a very creative way.
rulez added on the 2022-11-18 16:48:13 by NinjaKoala NinjaKoala

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