Code Monkey home page Code Monkey logo

sacred-tui's People

Contributors

justaboredkid avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

sacred-tui's Issues

Ability to remove objs

There is no way currently to remove a object without re-rendering the entire scene.

For example:

import sacred

scene = sacred.Scene()

scene.box(0, 5, 6, 5)
scene.box(5, 5, 6, 5)
scene.render()
-----------
|    |    |
|    |    |
|    |    |
-----------

There is no way to remove the left square without doing this:

scene.reset()
scene.box(5, 5, 6, 5)
scene.render()

It may not sound like much, but when you have many objects to manage, you have to add them again in order to just to delete one object.

If we can do something like naming objects, like so:

sacred.name(
    scene.box(0, 5, 6, 5), "box1"
)

Or having layer numbers:

scene.remove(1)

Those would be really helpful for reusing scenes and potentially improve performance.

Problem with ANSI Escape Codes

It recognizes ANSI escape codes as text, and it really messes everything up.

Perhaps we should create built in ANSI support without using blessed?

The README is outdated

Some are not updated, or lazily update. I will take care of this myself. This issue is created to track the progress.

Animation

  • selective rendering (only rendering the interactions between two objects, not entire screen)
  • movers
  • moving direction and speed (Slope?)
  • thread stuff (in order to have input at the same time, not stuck on render())
  • background mode for box() to prevent selective rendering from using the big screen-edge-box

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.