samedi 1 juillet 2017

How to draw a picture in web app using Racket?

I'm looking for a way of drawing a pictures in my simple web-app. Basically i'm trying to submit a picture of circle using standard slideshow library, but it doesn't work and i have no idea why. Here is a sample:

#lang web-server/insta

(require slideshow)

(define (start request)
  (response/xexpr '(html
                     (body (circle 10))
                     )
  )
)

Could you tell me a hint how can i draw pictures using standard utils at my html page?

Thank you.




Aucun commentaire:

Enregistrer un commentaire