Skip to content

curve: Issues with curve generation for large number of points sampled. #952

Description

@Vesperlee

Expected Behavior

The curve produced is expected to be made of a solid line.

Current Behavior

The curve produced has gaps / is dotted.

Steps to Reproduce

  1. Nvidia Optimus and graphics acceleration (from browser settings) enabled.
  2. draw_connected_full_view(10000)(unit_line)
  3. The unit_line produced will not be a straight line. (Dotted line)

Context

This bug happens when Nvidia Optimus and graphics acceleration in the browser is enabled.
Can be fixed system-wide by disabling Nvidia Optimus, or can fixed for a specific browser by disabling graphics acceleration in the browser settings.

Issue occurs on Microsoft Edge, Google Chrome, and Vivaldi, and the above fix works for all three.

Failure Logs

https://share.sourceacademy.nus.edu.sg/8j7om

Images of issue attached.
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions