Skip to content
#

2d

Here are 1,628 public repositories matching this topic...

Chrisyjs
Chrisyjs commented Jan 11, 2019

发现,如下图绘制两辆小车,点击小车,该小车旁的圈圈会 show,同时其他小车的圈圈会 hide。连续切换点击小车后,会出现圈圈显示无效的问题。

2019-01-11_093525

小车代码如下:

var group = new zrender.Group({
        position: [20, (k + 1) * 160]
      }).on('click', function () {
        $.each(containers, function (k, v) {
          /
delaunator
mourner
mourner commented Sep 3, 2018

@redblobgames I'm wondering whether we could drop the script { display: block; } hack — while it's definitely cool, it has some drawbacks:

  • We can't add code highlighting to the code (e.g. with https://highlightjs.org/), which would help docs readability a lot.
  • We have to split the code into two files entangled together, which makes refactoring inconvenient.
  • It's impossible to lint it
ibrokemypie
ibrokemypie commented Feb 28, 2018

Hey, when trying to use

   dest := image.NewPaletted(bounds, palette.Plan9)
   canvas := draw2dimg.NewGraphicContext(dest)

I crash with

panic: Image type not supported

goroutine 70 [running]:
github.com/llgcode/draw2d/draw2dimg.NewGraphicContext(0x7f18c0, 0xc420096660, 0x10000)
	/home/conor/thingo/go/src/github.com/llgcode/draw2d/draw2dimg/ftgc.go:63 +0xe9

Am I doing s

foobraco
foobraco commented May 29, 2019

Is it possible to change the documentation on the repository to an editable format instead of PDFs? That way it would be easier to contribute to it and even work in translations for it.

I'm from a non-english speaking country and would be great to be able to point people I'm teaching to this repository and that they are able to find documentation in their own language.

Durss
Durss commented Feb 26, 2020

Just a minor typo on the french version of the website :
https://festi.info/boxes.py/

On the "Boîtes" section :
"Boîte Régulière - Bîte basée sur un polygone régulier"

It will for sure make french people smile to read "bîte" instead of "boîte" but it will also probably be way clearer if the letter"o" is added to complete the word properly 😄

Have a good day :)

Improve this page

Add a description, image, and links to the 2d topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the 2d topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.