Giter Club home page Giter Club logo

textpression's Introduction

Textpression

A drop-in JavaScript library to make easy and sharable kinetic typography from any text.

Status

VERY MUCH UNSTABLE AND IN PROGRESS

Startup

  • Open /src/index.html (app homepage) in browser
  • Click hamburger in top-left to open sidebar
  • Paste text into text field (currently best for poetry, things with short phrases & lots of linebreaks)
  • Click "convert" in the debug menu (URL hash is now encoded form of text)
  • Click "start" to run the viz (will convert from URL hash, so you don't need to convert every time)

Information

Read the repo home page for more information.

Author

Written and edited by @therealtakeshi. Questions/comments go there.

textpression's People

Contributors

therealtakeshi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

arquivo1

textpression's Issues

Find and implement a method for sentiment analysis

This is kind of the secret sauce to the whole mood thing.

I'm sure there's good libs out there, I just haven't done the research. Ideally something that can run locally, not an API, though that's not a dealbreaker since it only needs to run once to find the mood, then user can tweak from there. But local would be better since it'll be dealing with pretty much any kind of text.

Implement a mood system

This will probably be a longer-term endeavor, but it needs to be in for Alpha (barebones is okay).

Possibly just a mood scale from 0-255 with n buckets between. That way we can use a very simple numeric (o=40, o=-124) offset in the URL to modify the mood.

Needless to say, this also involves some level of sentiment analysis to assign a mood, so that's high-priority too. Will be a separate issue.

Make backend component for URL shortening and ML training

Maybe a very light redis install (or firebase? This is open-source, after all) that provides a very low-latency store for shortened URLs -> encoded URLs.

{
    "<GENERATED_SHORTENED_URL>": "<ENCODED_URL_HASH>"
}, {
    "d24f208bc82": "#⌊2g⌈a⌉1y⌉r⌉94⌉c⌋Death,∫⌊e⌉8fc⌉fvn⌉c⌋me;∫⌊0⌉543⌉og3⌉m⌉1t⌉1db∫⌊2⌋Immortality.∫"
}

And then since it's hosted in 1 place, we can train the AI on the encoded texts.

Add more fonts

Pretty simple, it needs more fonts. Google fonts + dafont should do the job.

Generate new SVG/3D backgrounds

This could be a great way to showcase my threejs learning (and do some fun stuff) by using scenes as backgrounds. Issues would be size of models and textures, but if I'm smart about it, I could do a lot with fairly simple code.

This is a good idea, combining a few of my interests. I like this!

Marked for Alpha, though I'd be happy to even just have 1 scene in and working. I'd like to think about it more during the lead-up to Alpha, though.

Figure out how to support other languages

Since this is a text thing, it should be applicable to any written language. Sentiment analysis is going to be a problem though, as I would imagine most testing and dev is done in English.

This is marked for GA. I'd like to support multiple languages by GA, or if not then have a solid plan to support them nearafter.

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.