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


Groups > comp.lang.javascript > #38558

Re: Unicode signs vs lines "saving clockcycles"

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Arno Welzel <usenet@arnowelzel.de>
Newsgroups comp.lang.javascript
Subject Re: Unicode signs vs lines "saving clockcycles"
Date Mon, 20 Jul 2020 10:05:46 +0200
Lines 21
Message-ID <hnl1j0F1ubiU1@mid.individual.net> (permalink)
References <149e8fbb-13eb-42d4-8ab4-cb38e0e8bd70o@googlegroups.com> <XnsABFEA0E3CFBEEeejj99@194.109.6.166> <493f126c-7318-48b0-bca9-8d9d6a85311eo@googlegroups.com> <3eec9e74-d659-41de-92c6-9ac4178521c6o@googlegroups.com> <XnsABFEF2E7D3D5Aeejj99@194.109.6.166> <fece77d4-b0a5-4430-bbcc-7c2352252750o@googlegroups.com> <XnsABFFAB1F4C84eejj99@194.109.6.166> <db144980-b33e-4ae9-989f-837eb0c7f6e4o@googlegroups.com> <5c7c4b9e-bf13-457c-bb13-5131653b9d07o@googlegroups.com> <XnsABFFECFB9B425eejj99@194.109.6.166> <5fa058d3-1fba-4b68-8a3d-586d43b569dao@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Transfer-Encoding 8bit
X-Trace individual.net dAEI9y8GxMq51y9KI0wFZQwBt7EvJnBPATuL4BYxAILYG7kSv+
Cancel-Lock sha1:hDr7ZK34nJ0jwdC6lWcYG87LQ3Y=
In-Reply-To <5fa058d3-1fba-4b68-8a3d-586d43b569dao@googlegroups.com>
Xref csiph.com comp.lang.javascript:38558

Show key headers only | View raw


Jonas Thörnvall:

> Err the things written on the canvas are, tiles, sprites.

No. In the context of computer graphis a "sprite" is a bitmap which is
*indpendent* from the screen content and can be moved around freely.

Also see: <https://en.wikipedia.org/wiki/Sprite_(computer_graphics)>

One example for the use nowadays is the mouse cursor which is often
implemented as a sprite.

But "things written on the canvas" is just like paintint something on
it. And this will become permanent - a canvas is just a bitmap on which
you can paint. You can't write a unicode symbol to a canvas and then
move it around like a sprite without destroying the background.


-- 
Arno Welzel
https://arnowelzel.de

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-18 05:48 -0700
  Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-18 15:48 +0200
    Re: Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-18 07:30 -0700
      Re: Unicode signs vs lines "saving clockcycles" luserdroog <luser.droog@gmail.com> - 2020-07-18 11:43 -0700
        Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-18 23:52 +0200
          Re: Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-18 15:32 -0700
            Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-19 16:49 +0200
              Re: Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-19 08:57 -0700
                Re: Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-19 08:59 -0700
                Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-19 23:17 +0200
                Re: Unicode signs vs lines "saving clockcycles" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2020-07-19 15:30 -0700
                Re: Unicode signs vs lines "saving clockcycles" luserdroog <luser.droog@gmail.com> - 2020-07-19 19:34 -0700
                Re: Unicode signs vs lines "saving clockcycles" Arno Welzel <usenet@arnowelzel.de> - 2020-07-20 10:05 +0200
                Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-19 23:07 +0200
      Re: Unicode signs vs lines "saving clockcycles" "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2020-07-18 23:49 +0200

csiph-web