From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23440 invoked by alias); 29 May 2016 01:15:31 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21596 Received: (qmail 7068 invoked from network); 29 May 2016 01:15:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1464484170; bh=OVGyZB+lyiYUpsGwVDy5ChPtqh37EiQ3N6fl5uFFrOA=; h=X-Yandex-Sender-Uid:From:To:In-Reply-To:References:Subject: MIME-Version:Message-Id:X-Mailer:Date:Content-Transfer-Encoding: Content-Type; b=YBbzIMo1WLJwN9fqPeu73mhJbxZeH4XZGgnjd8CCgOIJSMC+2/qifVlVCb7zJpjrb 2BvAVAh94BrTinbx5DtY+DVN4sNkVYgGvPY/hjdoJhEhmNOZGcdg7yRPUlP/vveo1z AH55ionHJS76ma+gQIpYQvNaejnuw5+Mih2cRrb8= Authentication-Results: mxback8m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0,1 20735984 X-Yandex-Sender-Uid: 9151298 From: "Nikolay Aleksandrovich Pavlov (ZyX)" To: Sebastian Gniazdowski , Zsh Users In-Reply-To: References: Subject: Re: A project to make screensaver out of Turing's morphogenesis MIME-Version: 1.0 Message-Id: <450061464484170@web2m.yandex.ru> X-Mailer: Yamail [ http://yandex.ru ] 5.0 Date: Sun, 29 May 2016 04:09:30 +0300 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=utf-8 28.05.2016, 16:05, "Sebastian Gniazdowski" : > Hello, > Zsh has floating point numbers, so it was possible to implement > Turing's morphogenesis in it: > > https://asciinema.org/a/47133 > > I believe the images have special aesthetics because they resemble how > life is formed. Would be nice to have such a shell screen saver. For > example, on one my FreeBSD machine vt doesn't ever blank. But I don't > have experience with such software. It's nice to say "shell > screensaver", but: > - it should run only on active terminal (thought about remembering > last active terminal in a /tmp file via precmd) > - should run after some time (sched, will it play nice?) I would suggest to code this as separately as possible, maybe even as a separate plugin. I do not think that zsh is the right language to implement Turing’s morphogenesis, but I think that you are not the only one wanting a screensaver in a terminal. So the idea is that code which deduces when to run the screensaver, switches to alternate screen, renders the screensaver and disables it should know a single thing about Turing’s morphogenesis: that it needs to run `$SCREENSAVER_COMMAND $LINES $COLUMNS` to get the screensaver rendered. I am not the one wanting screensaver in the terminal though, so I will not participate. I am sometimes answering questions on this ML though. > > Would anyone want to participate? To implement: > - 256 color terminals with reasonable color picking > - screensaver like behavior > - optimization, maybe Euler method isn't best for this, code is quite slow > - other algorithms or different parameters for, or variations of morphogenesis > - use of alternate screen to not flood terminal > > https://github.com/psprint/zsh-morpho > > Best regards, > Sebastian Gniazdowski