Coder Social home page Coder Social logo

dummyneko's Introduction

Neko (猫, ねこ) is the Japanese word for cat.

Web/猫

Neko for the web, somewhat compatible with WebNeko.

circleci codecov

Preview

You can find a cat waiting for mouse on all pages at b1nary.tk. Don't let the neko catch your mouse!

Credits

Features. What's working?

  • state_still
  • state_yawn
  • state_sleep
  • state_alert
  • state_run

Roadmap. What's not implemented?

  • state_scratch

  • state_itch

  • home position

  • refactoring (JS only)

    Note that there is a cleaner Go/GopherJS port, which should (probably) also compile for the js/wasm target. Though only state machine is currently covered by tests.

Known bugs and workarounds.

  • Default display_state updates image source URL, and some browsers (e.g. Chrome) cancel unfinished downloads — low-bandwidth network users never receive the neko (unless they manually preload it).

    Temporary workaround: display preloaded images in display_state function.

  • Web/猫 was not managed using Git from the start. Unfortunately, there is no fix or workaround for this problem.

License

Public domain

Unlike the webneko.net JavaScript code, Web/猫 is published and distributed under the Unlicense and WTFPL. Attribution is optional, but desirable.

Rationales for placing software in public domain are listed in nothings/stb docs.

Traditional license

Want a traditional copyright-ish license?

You are granted a perpetual, irrevocable license to copy, modify, publish, and distribute this software as you see fit.

dummyneko's People

Contributors

tie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

anotherfollower

dummyneko's Issues

Подгрузка изображений на медленном соединении

display_state обновляет source элемента img, но некоторые браузеры (e.g. Chrome) отменяют загрузку предыдущего изображения. На медленном подключении к Интернет пользователи могут не получить изображения неко из-за постоянного обновления состояний.

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.