Giter Site home page Giter Site logo

blurred graphics about vice.js HOT 3 CLOSED

ociebieda avatar ociebieda commented on September 23, 2024
blurred graphics

from vice.js.

Comments (3)

rjanicek avatar rjanicek commented on September 23, 2024

Can you give more details on what you are doing?

from vice.js.

ociebieda avatar ociebieda commented on September 23, 2024

I mean that resized display element is smoothed by some kind of antialiasing filter (linear interpolation).
This makes very low resolution graphics (not a photo, but retro pixel known as pixel art) blurred.
The solution would be to keep it Nearest Neighbor (known also as Crisp Edges).
Let me show difference on example image: http://asawicki.info/files/nearest_neighbor.png

from vice.js.

rjanicek avatar rjanicek commented on September 23, 2024

You may use -VICIIfilter option to select different filter modes:

-VICIIfilter
Select rendering filter, 0:none, 1:CRT emulation, 2: scale2x

Example links below, click start button to start the emulator.

http://retroplay.co/c64/#{"vice": {"-VICIIfilter": "0"}}

http://retroplay.co/c64/#{"vice": {"-VICIIfilter": "1"}}

http://retroplay.co/c64/#{"vice": {"-VICIIfilter": "2"}}

from vice.js.

Related Issues (18)

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.