Yeah, I... really have no idea what's going on with this bug. Nowhere in
my code, or any of lizorkin's ssax code or the sxml-tools module is any
reference made to any identifier even resembling the word 'stxloc'.
$ cd /home/synx/code/scheme/exe-broken/
$ racket exe-broken.rkt
1
(#)
$ raco exe --co
OK. Here is what I am trying to do.
The game screenshot:
http://img829.imageshack.us/img829/4864/65490383.jpg
I am trying to rotate the guy's arm by the dynamic degree denoted on the
bottom-left corner of the screen. I just have to center the rotated image.
How would I go about doing that?
Com
@Robby Findler : I see what you mean. But in this example given by Paul
Ojanen
(require 2htdp/image)
(require 2htdp/universe)
(define BACKGROUND (rectangle 100 100 "outline" "white"))
(define TRI (triangle 35 "solid" "blue"))
(define (render ang)
(place-image (rotate ang TRI) 20 20 BACKGROUND))
Woah...so many good responses...thank you all
Now give me some time to read all of this and try to understand before I ask
another question.
NOTE: This topic is not yet closed. I will get back with a response in a
bit. Gotta ask my professor some questions as well.
Paul Ojanen's reply outlined t
Here's a simple example that illustrates one initially surprising behavior
with rotate. This wiggling really confounded me the first time I saw it.
#lang scheme
(require 2htdp/image)
(require 2htdp/universe)
(define BACKGROUND (rectangle 100 100 "outline" "white"))
(define TRI (triangle 35 "sol
Here's an example I have that shows what Stephen suggested. It's overly
complicated with the trig, but the rotation is a small object overlaid on a
larger circle.
Specifically, the blue circle background is rotating back-and-forth and the
small red circle is along for the ride. But it looks like
Sent this to just Robby, so forwarding to the list for posterity.
Also, I just tried re-opening the file on Linux and it doesn't work
there, although copying from Interactions to Definitions does work,
unlike on Windows. Here's a link to the file, in case the way it's
formatted provides a clue to
On Mon, Jul 19, 2010 at 8:39 PM, synx wrote:
>> but don't pass an install dir and instead let the
>> make install phase go directly into the plt tree where you're building
>> from. This works in general and is probably easier to deal with than a
>> separate install directory.
>
> I... huh? You mea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 07/19/2010 05:23 PM, Robby Findler wrote:
> That is, create some build directory to
> run configure in,
Okay, I do that.
> but don't pass an install dir and instead let the
> make install phase go directly into the plt tree where you're building
make.log.gz
Description: GNU Zip compressed data
_
For list-related administrative tasks:
http://lists.racket-lang.org/listinfo/users
Can you provide a more precise description of what is failing?
Thanks,
Robby
On Mon, Jul 19, 2010 at 7:07 PM, Todd O'Bryan wrote:
> I gave my students a bunch of images created with 2htdp/image to try
> to recreate.
>
> All of the images involving bitmaps appear as black circles on Windows.
>
>
I've noticed this bug too, but I think that, in the meantime, you can
just do an "in place" build. That is, create some build directory to
run configure in, but don't pass an install dir and instead let the
make install phase go directly into the plt tree where you're building
from. This works in g
I gave my students a bunch of images created with 2htdp/image to try
to recreate.
All of the images involving bitmaps appear as black circles on Windows.
Even if you create the image in the interactions window and then copy
it into the definitions, the same big, nasty black circle appears.
This
But these are two orthogonal questions:
-- rotating an image
-- placing an image in a "constrained" background
Shouldn't they be provided by two distinct functions?
On Jul 19, 2010, at 5:32 PM, Eugene Wallingford wrote:
>
>>> Just want to clear up thingsthe how can adjust the pinho
Is it possible to enable DrScheme's debugger for all code run in the
Interactions window, except that instead of stepping through, it just
runs the program from start to finish without stopping, but still
shows the execution steps in the side window?
I'd love to be able to see that info every time
raco setup: file-or-directory-modify-seconds: expects type as 2nd argument, given: +inf.0; other arguments were:
#
Just noticed this error during install of the latest git. Something
during installation is attempting to set the modified time of the file
to infinitely far in the future. So eithe
Well, the 2htdp/image library does not work like that. If you overlay
and the rotate then your background will be roated. If you rotate and
then overlay the you may place things in different (relative)
positions but you still don't get any different behavior by rotating
around different points.
Ma
> > Just want to clear up thingsthe how can adjust the pinhole or the
> > rotation center?
>
> There is no pinhole. My earlier reply was trying to tell you that this
> question does not make sense.
Perhaps Matthew is concerned not so much with the
resulting orientation of the image
On Mon, Jul 19, 2010 at 3:37 PM, Mathew Kurian wrote:
>
>
>
> Just want to clear up thingsthe how can adjust the pinhole or the
> rotation center?
There is no pinhole. My earlier reply was trying to tell you that this
question does not make sense.
Go get a rectangle (maybe a plate in your ho
Just want to clear up thingsthe how can adjust the pinhole or the
rotation center?
And Stephen Bloch, can you explain in a bit more detail...seems like that
is exactly what i am looking for...but i am having challenging understanding
the concept.
I am making trying to make a shooter game and
An ".ss" to ".rkt" conversion was missing. I've pushed a fix to the git
repo.
The mistakenly committed debugging `printf' was at least useful in this
case, but I also removed that, of course.
At Mon, 19 Jul 2010 20:49:43 +0100, "Paulo J. Matos" wrote:
> This is what I am now getting with racket-5
This is what I am now getting with racket-5.0.1.1:
pma...@mietzekatze:~/Code/eboc $
~/Applications/racket-5.0.1.1/bin/mzc --exe eboc main.rkt
pma...@mietzekatze:~/Code/eboc $ ./eboc
pmatch? ("search-sig.rkt" ("pjmatos" "eboc.plt" 1 0) "modes"
"esmc-mode") ("search-sig.rkt" ("pjmatos" "eboc.plt"
On Jul 19, 2010, at 11:54 AM, Mathew Kurian wrote:
> I am trying to rotate an image around a certain point. Using the 2htdp/image
> and its rotate function, it seems to be rotating the image.
>
> But what is it rotating around?
In a sense, it's the center (more precisely, the center of the b
There is no difference between rotating an image around different
points in the image. (Give it a try and see!)
Robby
On Mon, Jul 19, 2010 at 10:54 AM, Mathew Kurian wrote:
> Hi guys,
>
> Hope you all having a great day.
>
> I got a question for you all.
>
> I am trying to rotate an image around
Hi guys,
Hope you all having a great day.
I got a question for you all.
I am trying to rotate an image around a certain point. Using the 2htdp/image
and its rotate function, it seems to be rotating the image.
But what is it rotating around?
I appreciate all your help.
Thank you.
MK
_
Hi all,
A quick announcement:
The source for all of the Untyped PLaneT packages is now on Github.
svn.untyped.com will soon be no more.
There's a short blog post on the move here:
http://untyped.com/untyping/2010/07/18/untyped-at-github
the code is here:
http://github.com/untyp
Matt,
On 17/07/10 16:14, Matthew Flatt wrote:
Your "sconfig.h" changes look right. My only wild guess at the moment
is that something else is relying on the C preprocessor setting
__x86_64__, as opposed to __x86_64. If you add
#define __x86_64__ 1
I've added this in amongst the other defini
> It's just a less efficient workflow to post my solutions to the list
> asking for feedback, vs being able to quickly click, compare mine to
> the correct one, and move on.
The problem with this observation is that one night you'll be tired,
struggling on an exercise, and in a moment of weakness
28 matches
Mail list logo