Coder Social home page Coder Social logo

buttermiilk / osu-skill-card-renderer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 173 KB

simple implementation of yorunoken's osu!std skills and tienei's osu! other modes' skills formula, on a card.

License: MIT License

JavaScript 100.00%
canvas canvas-api osu osugame skill-card osu-card

osu-skill-card-renderer's Introduction


osu! skill card renderer

basically some fun formula to render an osu! image.
inspired by tienei's tinybot.


About this project

My Discord app Neko has some backend logic to handle its card rendering, but I was lazy there so I copied everything off tienei's repo and mocked everything so badly it takes up to 30 seconds to render something. And the idea is not organized at all.

So here we are, an attempt to make something better with a different approach. I have some plannings, sure, but this code is far from optimized for some on-demand rendering.

osu!std's player scorings are from yorunoken, in their fun-api repo. I just used the calculations there directly, just so I don't have to handle files download or things like that.

osu!taiko, osu!catch and osu!mania's formulas are copied directly (with some taiko adjustments) from tienei's tinybot repo.

Thanks a lot for providing these so this project is possible.


About the code & license

I don't expect the code to be readable or clean. I put no comments here, like at all, because I was and still am running deadlines. Just comment out lines and see what it does if you need to know it.

License, MIT license, read that file. I don't have any other requirements, this is a learning project pushed to production. Make sure to put in secret keys, logics stay in files.


Previews


TODO

  • Refactor render code
  • Comment on things
  • Fix bugs
  • More features

No idea if I'll ever make these, anyway.

osu-skill-card-renderer's People

Contributors

buttermiilk avatar

Watchers

 avatar

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.