Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5733

Small and Subtle colour change in animated object

From Richard Ashbery <basura@invalid.addr.uk>
Newsgroups comp.sys.acorn.programmer
Subject Small and Subtle colour change in animated object
Date 2019-03-23 12:06 +0000
Organization None
Message-ID <57993e68e7basura@invalid.addr.uk> (permalink)

Show all headers | View raw


MODE 1920,1080,8 : OFF
x = 0
REPEAT
    CIRCLE FILL x,1100,100
    x+=10
    Z=INKEY(10)
UNTIL x=3800

This simple code draws a filled circle across screen. Has anyone got a
routine I could add to make each new circle go through a gradual
colour change? Only very small and subtle changes of colour are
required to cover the whole of the RGB spectrum. Routine would need to
handle thousands of colours because each prime colour has 256 possible
levels.

Richard

Back to comp.sys.acorn.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Small and Subtle colour change in animated object Richard Ashbery <basura@invalid.addr.uk> - 2019-03-23 12:06 +0000
  Re: Small and Subtle colour change in animated object druck <news@druck.org.uk> - 2019-03-24 21:40 +0000
    Re: Small and Subtle colour change in animated object Richard Ashbery <basura@invalid.addr.uk> - 2019-03-25 13:48 +0000
      Re: Small and Subtle colour change in animated object druck <news@druck.org.uk> - 2019-03-25 20:26 +0000
        Re: Small and Subtle colour change in animated object Richard Ashbery <basura@invalid.addr.uk> - 2019-03-26 11:31 +0000

csiph-web