From owner-freebsd-chat Mon Nov 5 15:42:44 2001 Delivered-To: freebsd-chat@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 1D46A37B418 for ; Mon, 5 Nov 2001 15:42:42 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id BC2EF14C45; Tue, 6 Nov 2001 00:42:40 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Marcus Reid Cc: freebsd-chat@FreeBSD.Org Subject: Re: simplicity_saver References: <20011104151840.A13030@blazingdot.com> From: Dag-Erling Smorgrav Date: 06 Nov 2001 00:42:40 +0100 In-Reply-To: <20011104151840.A13030@blazingdot.com> Message-ID: Lines: 12 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Marcus Reid writes: > I thought I'd share this screensaver module that I wrote. I find it > interesting what the effect is achieved with only a few lines of code, > yet it looks very complicated. Why do you reinitialize the palette to the exact same values for every frame displayed, instead of initializing it only once at module load time? DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message