Loading...
Processing Forum
Recent Topics
All Forums
Screen name:
zoobla
zoobla's Profile
1
Posts
1
Responses
0
Followers
Activity Trend
Last 30 days
Last 30 days
Date Interval
From Date :
To Date :
Go
Loading Chart...
Posts
Responses
PM
Show:
All
Discussions
Questions
Expanded view
List view
Private Message
problem running tutorials
[3 Replies]
09-Sep-2010 04:12 AM
Forum:
Programming Questions
Hi, I just started using processing and begun from the tutorials. The code in "
Getting Started
" runs fine. However, I have problems with "
Overview
".
I have ubuntu 9.10, amd64 and installed processing 1.2.1 (unzip in my a dir under my home).
In "
Overview
" I can run the first example
line(15, 25, 70, 90);
but for all the rest I have the following problem. When I hit "run" the monitor starts flickering and X doens't respond (I can only kill X).
I tried to find a minimal example that doens't work, so I took the final example from "Hello mouse" section.
void setup() {
// with X=480 (as well as smaller sizes) and Y size >- 125
// monitor flickrs, X crashes
// with this, everything is ok
size(480, 120);
// without this monitor flickrs, X crashes
smooth();
}
void draw() {
stroke(255);
line(150, 25, mouseX, mouseY);
}
void mousePressed() {
background(192, 64, 0);
}
The strange thing is that:
Without smooth(); X crashes
with size(480, Y) where Y>=120 X also crashes
Do you know how to find what is wrong? If you need any more information let me know
«Prev
Next »
Moderate user : zoobla
Forum