Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+11 votes
asked in CSC 150 January201920 by (1 point)

2 Answers

+7 votes

No, I don't think there's any way to do that.

You can import PCOLORS, but it may not be what you want...

I think you could also do something like:

import-pcolors "something.jpg"
ask patches with [ pzcor = -16 ] [
  set pcolor [pcolor] of (patch pxcor pycor 0)
answered by (508 points)
+1 vote

You could also use the raytracing extension and then use raytracing:set-image "image.jpeg". Although this will wrap the image around the world and may stretch it as well.

answered by (1 point)