[Cuis-dev] Bytebeat thing with sound in Cuis
Luciano Notarfrancesco
luchiano at gmail.com
Tue Aug 26 01:40:57 PDT 2025
BTW, some context:
http://canonical.org/~kragen/bytebeat/
https://arxiv.org/abs/1112.1368
My experiment was just a first attempt after watching a video on viznut’s
youtube channel, it’s not completely correct..
On Tue, Aug 26, 2025 at 02:37 Luciano Notarfrancesco <luchiano at gmail.com>
wrote:
> I made a weird little hack/toy today. Here it is in case anyone wants to
> try it. Print this on a workspace to get the morph embedded, or open it in
> the world:
> b := BytebeatMorph new scaleBy: 2.
> And then play:
> b play
> and try different generating functions:
> b generator: [:t| t].
> b generator: [:t| t//16].
> b generator: [:t| t//16 & (t*5//3)].
> b generator: [:t| t//8 & (t*4//3)].
> b generator: [:t| t//16 & (t*2//3) | ((t//32 & (t\\20)))].
> b generator: [:t| t*3 * (t >> 7)].
>
> b generator: [:t| t*5//3].
> b generator: [:t| t*4//3].
>
> b generator: [:t| t & (t // 8) - (t * 2 & (t>>13) & (t >> 5))].
>
> b generator: [:t| t>>6 | t | (t >> (t >> 16)) * 10 + ((t>>11)&7)].
>
> Hope it works..
>
> BTW, BoundFinderCanvas>>image:at:sourceRect: was missing (see attached,
> need it), and the implementation in VectorCanvas has a bug but the part of
> the method that uses WarpBlt seems to work correctly (that's why in the
> example I call scaleBy:.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20250826/00e0e9cb/attachment.htm>
More information about the Cuis-dev
mailing list