Giter Site home page Giter Site logo

laiwei-f / mirage-tank-images Goto Github PK

View Code? Open in Web Editor NEW

This project forked from samarium150/mirage-tank-images

0.0 0.0 0.0 9.53 MB

纯前端“幻影坦克”图片生成器

Home Page: https://samarium150.github.io/mirage-tank-images/

License: MIT License

JavaScript 4.14% Python 11.16% TypeScript 17.72% HTML 2.77% Vue 64.20%

mirage-tank-images's Introduction

mirage-tank-images

GitHub top language deploy LICENSE

简介

这是一个纯前端的“幻影坦克”图片生成器,部署在GitHub pages

本项目最初的目的仅仅是学习Vue,所以生成图片的效率非常感人,如果真的要实际使用,这里更推荐Python的源码

珍爱生命,远离前端

背景知识

聊天软件或网站总是以白色背景和黑色背景(夜间模式)显示图片,在默认的白色背景下看到一张图(图A),但是点击放大却变成另一张图(图B)。 这是因为两种模式使用的背景颜色不同,“查看详情”模式或者夜间模式下背景颜色为黑色。

如下图所示,默认看到的图片分别为天音かなた,夜间模式看到的为妖精騎士トリスタン

sample_white

但实际上原图均为sample.png,区别仅仅是背景分别为白色和黑色。

这样的图片又被网友戏称为“幻影坦克”。利用这样的特性可以将表情包作为上层,其他图片作为下层,在不同的颜色背景下显示来达到伪装和隐藏下层图片的目的。

mirage-tank-images's People

Contributors

samarium150 avatar dependabot[bot] 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.