Nor Khasyatillah

Results 15 comments of Nor Khasyatillah

You can do that right now with [pup](https://github.com/ericchiang/pup).

The problem is terminal background can be anything, dark, light, image, transparent, and we can not know what color is under certain character.

Maybe my color scales library will be useful here. https://github.com/mazznoer/colorgrad

Turbo is available in https://github.com/mazznoer/colorgrad Can we use it?

@Hirrolot Try this. ```go package main import ( "github.com/fogleman/gg" "github.com/nfnt/resize" ) func main() { dc := gg.NewContext(1000, 1000) dc.DrawCircle(500, 500, 400) dc.SetRGB(0, 0, 0) dc.Fill() //dc.Scale(10, 10) img := resize.Resize(10,...

You can use [csscolorparser](https://crates.io/crates/csscolorparser).

@Yay295 Exactly Here is another sample points and its output. ```js let points = [[172,100],[166,114],[160,127],[156,141],[149,155],[128,149],[121,164],[107,163],[93,163],[82,154],[65,160],[52,154],[44,141],[35,129],[26,116],[37,100],[44,88],[28,68],[41,57],[48,42],[63,36],[77,28],[92,25],[108,28],[121,37],[130,48],[148,46],[156,59],[161,73],[163,87],[172,100]]; fitCurve(points, 30); ``` ![svgx-1578630432](https://user-images.githubusercontent.com/56464409/72125937-f49bfe00-339c-11ea-87ee-892d3610e1f6.png) Everything is smooth, except where the start and end point meet...

Fixed in version 0.4 ![IMG_20240822_204108](https://github.com/user-attachments/assets/51936ff0-cf44-4de0-818e-88cbcf2e97cb) **TODO:** Tab characters on `--animate` mode

Can't use `.inbox()` because `InboxParameters` is private.