I want to make a program that allows to paste code from shadertoy and render to syphon server.
When I paste multiline code from shadertoy to the TextField it takes only first line.
MakeTextFieldonly allows one line of text to be entered. However, you can read data from a .txt file into Make Image with Shadertoy. Alternately, you can copy the entire shader to the clipboard, and use a shell command to get the clipboard contents.
Comments
sergegam,
sergegam,
Can you provide more details on what you are trying to do? Where/how would these several lines of text be used?
I want to make a program that
I want to make a program that allows to paste code from shadertoy and render to syphon server. When I paste multiline code from shadertoy to the TextField it takes only first line.
sergegam,
sergegam,
MakeTextField
only allows one line of text to be entered. However, you can read data from a .txt file into Make Image with Shadertoy. Alternately, you can copy the entire shader to the clipboard, and use a shell command to get the clipboard contents.clipboard-to-shadertoy.vuo
Input-shader-into-shadertoy-node.vuo
Screen Shot 2020-12-28 at 9.38.59 AM.png