Re: [racket-users] mode-lambda with antialiasing?

2016-11-14 Thread Jay McCarthy
On Mon, Nov 14, 2016 at 5:25 PM, David Vanderson wrote: > Thanks Jay, I hope I'm not abusing the terminology. If I have a sprite that > is a line, and it's rotated a bit, then is that not similar to a polygon > edge not falling on pixel boundaries? Yes, that's what I

Re: [racket-users] mode-lambda with antialiasing?

2016-11-14 Thread David Vanderson
Thanks Jay, I hope I'm not abusing the terminology. If I have a sprite that is a line, and it's rotated a bit, then is that not similar to a polygon edge not falling on pixel boundaries? As an example, I've attached a test program and a screenshot of the rotated and scaled down line segment.

Re: [racket-users] mode-lambda with antialiasing?

2016-11-14 Thread Jay McCarthy
Hi David, I know what anti-aliasing is, but I don't think I know how you mean it to apply for mode-lambda. mode-lambda renders a W1xH1 scene onto a W2xH2 canvas and by default uses a scaling algorithm that is "pixel-perfect" and could be made to be more fuzzy. Right now, it offers two scalers

[racket-users] mode-lambda with antialiasing?

2016-11-14 Thread David Vanderson
I'm working on converting my game to use mode-lambda, and it's going pretty well so far, but I'd like to get smoother rendering of sprites rotated & scaled. I was hoping that (send gl-config set-multisample-size 4) would take care of it. That works for some raw opengl stuff I've tried, but not

Re: [racket-users] raco run but (please) dont process the docs

2016-11-14 Thread Philip McGrath
On the subject of package documentation, http://docs.racket-lang.org/pkg/catalog-protocol.html appears to be incorrect when it says that: The source for the PLT-hosted package catalog is in the (collection-file-path "pkg-catalog" "meta") directory of the full Racket

Re: [racket-users] filesystem-change-evt and thread-suspend

2016-11-14 Thread Philip McGrath
Thanks very much for the quick workaround (and ultimately for the repair) — it's always a relief to know I haven't overlooked some detail! On Monday, November 14, 2016 at 9:30:17 AM UTC-6, Matthew Flatt wrote: > No, that's not supposed to happen. I've pushed a repair. > > > I was able to

Re: [racket-users] Re: Logging and stdout in web-server

2016-11-14 Thread Luke
That worked just fine, thanks Jay! Luke -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit

Re: [racket-users] filesystem-change-evt and thread-suspend

2016-11-14 Thread Matthew Flatt
No, that's not supposed to happen. I've pushed a repair. I was able to replicate the problem on Mac OS X, and it looks like the problem with filesystem events is specific to that platform. But the filesystem-event problem is due to a more general bug in the scheduler, and the same bug shows up

Re: [racket-users] Re: Logging and stdout in web-server

2016-11-14 Thread Jay McCarthy
Hi Luke, You are right to use serve/servlet and friends rather than the configuration-table stuff, which is just there for backwards compatibility. If you really want to use dispatch-log, then you'll need to use serve/launch/wait and dispatch/servlet:

Re: [racket-users] Request for comments: An embedded DSL for CSS in Racket

2016-11-14 Thread Leandro Facchinetti
Hi WarGrey Gyoudmon Ju, I’m happy to know that other people are working on the same space. It seems like we’re taking different approaches and I’d like to see your project when you release it. Best. -- Leandro Facchinetti https://www.leafac.com GPG: 0x5925D0683DF3D583 --