Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CleanConvex wonkiness #23

Open
bakumoe opened this issue Apr 1, 2021 · 2 comments
Open

CleanConvex wonkiness #23

bakumoe opened this issue Apr 1, 2021 · 2 comments
Labels
bug 😅 Juju did a bad thing

Comments

@bakumoe
Copy link
Contributor

bakumoe commented Apr 1, 2021

Here's another thing I noticed

  • Border thickness is super inconsistent
  • Shape can break

Higher rounding and border thickness worsen the effects

CleanConvex wonky2

Code for the above gif:

var _x = 100, _y = 200, _size = 50, _offset = sin(current_time / 500);
CleanConvex([_x - _size, _y - _size,    _x + _size + (_offset * _size), _y - _size - (_offset * _size),    _x + _size, _y + _size,    _x - _size, _y + _size]).Blend(c_orange, 1.0).Border(10, c_red, 1.0).Rounding(0).Draw();
_x += _size * 3;
CleanConvex([_x - _size, _y - _size,    _x + _size + (_offset * _size), _y - _size - (_offset * _size),    _x + _size, _y + _size,    _x - _size, _y + _size]).Blend(c_orange, 1.0).Border(30, c_red, 1.0).Rounding(0).Draw();
_x += _size * 3;
CleanConvex([_x - _size, _y - _size,    _x + _size + (_offset * _size), _y - _size - (_offset * _size),    _x + _size, _y + _size,    _x - _size, _y + _size]).Blend(c_orange, 1.0).Border(10, c_red, 1.0).Rounding(30).Draw();
_x += _size * 3;
CleanConvex([_x - _size, _y - _size,    _x + _size + (_offset * _size), _y - _size - (_offset * _size),    _x + _size, _y + _size,    _x - _size, _y + _size]).Blend(c_orange, 1.0).Border(30, c_red, 1.0).Rounding(30).Draw();
@JujuAdams JujuAdams reopened this Apr 2, 2021
@JujuAdams
Copy link
Owner

Whoops, fatfingered that on mobile!

@JujuAdams JujuAdams added the bug 😅 Juju did a bad thing label Apr 8, 2021
@JujuAdams
Copy link
Owner

JujuAdams commented Apr 8, 2021

mmyep, dunno what's causing this, nor do I have the willingness to try to figure it out. Maybe it'll get fixed one day ¯\_(ツ)_/¯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 😅 Juju did a bad thing
Projects
None yet
Development

No branches or pull requests

2 participants