Aaron Montag

Results 24 comments of Aaron Montag

It would be thinkable that a `measuretext( text, +modifiers of drawtext...)` could return the size in pixels (internally such a function already exists that should even work well together with...

Oh, I was not aware of that. According to the reference "If several Euclidean views for the same construction are open, the function [`screenresolution()`] will return the maximum of all...

The bug is that the setter for caption is not implemented within CindyJS. As workaround for you, I would set `labeled` to false and use `drawtext(A, "A("+format(A.x)+"|"+format(A.y)+")")` instead.

It is done when its done. Right now other things have a higher priority for us right now. If this feature is important for you you can try your own...

In my opinion, the nicest would be to have a modifier for the `format` command (https://cindyjs.org/ref/String_Operators.html#format$2) that just does this. As a workaround, you could build your own `format` function...

When communicating via `evokeCS` and `javascript`, there is no suitable way to get back data from the corresponding other world. It is only possible to push data (or evoke commands...

In this simple case I would attach something like `onchange = "cdy.evokeCS('a = ' + this.value)"` to the HTML input elements on the left.

What you are looking for is `pinned: true`.

I am not sure, whether @BernhardWerner was referring to a rectangular border: Sometimes I used the following dirty trick to render outlines: ``` drawwithborder(pos, txt, color, bordercolor) := ( forall([[1,0],[-1,0],[0,1],[0,-1]],o,...

It would be great to speed up CindyJS for some further cases. But implementing such systems might demand more resources than we have. I doubt that changing some basic operations...