Jonathan Feinberg
Jonathan Feinberg
I'm so glad that works.
This is already done. https://github.com/jdf/processing.py/blob/master/runtime/src/jycessing/mode/run/SketchServiceProcess.java#L126
This question probably belongs in the Processing forums, and not here. The code sample you've provided is not complete, and would not cause the error you describe.
I think a special "Python Mode for people who already know Processing" page might be in order, which has an introductory paragraph, and an index of functions that, while implemented,...
Perhaps try using a unicode literal: ```python size(500,500) myFont=createFont(u"宋体",40) textFont(myFont) fill(0) text(u"hello,中文",100,200) ```
Thanks. Was this a saved sketch? Please paste here the complete path to the saved sketch.
Thank you! I've made several comments in context.
Thank you!
Neither `frame` nor `surface` are described in the Processing reference. Am I missing something?