Giter Site home page Giter Site logo

Comments (3)

tommyettinger avatar tommyettinger commented on August 21, 2024

By "spin" do you mean change from frame to frame from, say, '0' to '1' to '2' and so on, or actually to rotate in-place? Rotation is tricky but can currently be done. Changing the char in a cell over time, like how Cogmind does for animations, might also work rather easily. We can already change colors over time, so it should be fairly straightforward to cycle through a sequence of characters.

from squidlib.

SquidPony avatar SquidPony commented on August 21, 2024

I mean like with an odometer where one number slides off the top while another slides up from the bottom (on a or ribbon in most physical cases). I'm not sure if rendering could be masked to the edges of a cell, if so this might not be too hard.

from squidlib.

tommyettinger avatar tommyettinger commented on August 21, 2024

Seems useful, but difficult to implement... It's surprisingly hard to render only a portion of a texture without weird stretching/jittering issues, though I have done it with non-text images. I have an idea for mimicking the effect by shrinking one char away from the top while another stretches from nothing toward the bottom to fill the space. That might be easier.

from squidlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.