Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8577755
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:13:51+00:00 2026-06-11T20:13:51+00:00

When I slowly translate a triangle it is moved pixel by pixel. Is there

  • 0

When I slowly translate a triangle it is moved pixel by pixel. Is there any way how to force the Google Chrome to smooth the movement out using antialiasing?

For the example check out:

https://dl.dropbox.com/u/4571/musicope2/index.html

PS: I wonder if this answer applies also for webgl and if the answer is still valid?:

Sub-pixel rendering in Chrome Canvas

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:13:52+00:00Added an answer on June 11, 2026 at 8:13 pm

    I’m not sure what you’re asking for exactly.

    Anti-aliasing can be requested when creating your WebGL context with

    gl = canvas.getContext("webgl", { antialias: true });
    

    But it’s up to the browser whether or not it actually turns on anti-aliasing or not and to what level. Some browsers for example disallow anti-aliasing on certain GPUs because of driver bugs.

    Otherwise you could set the canvas to a larger size and use css to display it a smaller size. The browser will most likely use GPU bilinear filtering to display the result giving you a kind fo anti-aliasing. To do that set the size of the canvas to double the size you want to display and the css to the size you want to display. Example:

    desiredWidth = 640;
    desiredHeight = 480;
    canvas.width = desiredWidth * 2;
    canvas.height = desiredHeight * 2;
    canvas.style.width = desiredWidth + "px";
    canvas.style.height = dsiredHeight + "px";
    gl = canvas.getContext("webgl", { antialias: false });
    

    That will make your canvas’s drawingBuffer double the size it is displayed in the page and will likely make it look anti-aliased.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am slowly getting used to using the Qt4 GUI framework. In a project
I've been slowly and a bit painfully working my way up the datastore/JDO learning
There is a query which runs more slowly than I would like, but I
I'm slowly but surely putting together my first rails app (first web-app of any
I'm slowly learning mod_rewrite (keyword is slowly) and am using a tutorial's line of
I'm trying to slowly knock out all of the intricacies of python. Basically, I'm
I'm slowly learning PHP, MySQL, along with some HTML, using localhost as my webserver.
I'm getting nowhere slowly using tfssecurity.exe to programatically give a user the retainindefinitly permission
I'm slowly making my way through the rails source, to get a better grip
I've been slowly working my way through the list of Project Euler problems, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.