Loading...
Processing Forum
Recent Topics
All Forums
Move this topic
Forum :
Share your Work
Programming Questions
Core Library Questions
Contributed Library Questions
Android Processing
Processing with Other Languages
Integration and Hardware
Library and Tool Development
Events and Opportunities
General Discussion
Sub forum :
Move this topic
Cancel
General Discussion
Other
hartwella..
Opening a sketch within a sketch?
in
General Discussion
•
Other
•
3 months ago
Is there a way to load a sketch from a users local files and then run it within a main sketch? Or running it in a different window would be fine too.
1
Replies(1)
kosowski
Re: Opening a sketch within a sketch?
3 months ago
PApplet class has a static method called runSketch(String[], PApplet) that allows you to launch another sketch in a separate window. In eclipse I use it like this:
SecondSketchName aSketch;
aSketch= new SecondSketchName ();
PApplet.runSketch(new String[] { "--bgcolor=#F0F0F0", "SecondSketchName " }, aSketch);
Leave a comment on kosowski's reply
Change topic type
Topic Type :
Discussions
Questions
No of days :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Change topic type
Cancel
Link this topic
Provide the permalink of a topic that is related to this topic
Permalink
Save
Close
Reply to hartwellalex's question
Top
Reply
{"z8397738":[25080000002268223],"z28150208":[25080000002266546]}
Statistics
1
Replies
209
Views
1
Followers
Tags
Cancel
loading a sketch from a sketch
sketch in a sketch
inception
Actions
Permalink
Related Posts
Preprocessor
QR code problems
Performance / drawing layers in win...