kortenkamp

Results 31 issues of kortenkamp

In order to make it easier to import CindyScript code from other sources, it would be great to have access to the `import` and `importurl` functions that classic Cinderella provides....

A lot of CindyJS files generated from Cinderella "just don't work", due to small problems, for example using `sqrt(x)` with undefined `x` or `|A,B|` with one of `A` or `B`...

Cinderella compat.

It would be nice to use [webpack](https://webpack.js.org) for bundling `Cindy.js` instead of the current build system. Any volunteers to change this?

In Cinderella, it is possible to write ``` drawsomething(x):= ( fill(x,color->background); draw(x, color->color) ); drawsomething(circle((0,0),1), color->red(1), background->grey(1) ); ``` where we pass through the modifiers `color` and `background`. This does...

Cinderella compat.

It would be nice to see a compilation to WebAssembly (instead of JavaScript) of CindyScript. Just an idea.

enhancement
discussion

Right now, labels can only be retrieved in CindyScript using the `.name` attribute. In Cinderella, it is also possible to use `.label`. Actually, the semantics might be even different, as...

Cinderella compat.

John Mason reports: > I don’t think that font size works when using tex in CindyJS, at least when using “\over"

bug

It is possible to draw in the mouse release event. In Cinderella® this will be visible, as the `draw` event will not clear the screen again (the mouse release event...

Cinderella compat.

Currently, the files created by Cinderella as well as the examples in the repo have the script code (both CindyScript and JavaScript) in the `` tag. Wouldn't it be more...

discussion

The attached example shows wrong behavior with a mass on a circle in physics simulation. It seems to be much too much friction in the system. [Pendulum.zip](https://github.com/CindyJS/CindyJS/files/571395/Pendulum.zip)

Cinderella compat.