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.


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

Can you elaborate on your question? It's not quite clear to me what you're wanting to achieve here.

Naturally, you can still use the vid extension to create videos, in addition to using the bitmap extension to import images....

1 Answer

+5 votes

I don't know if this answers your question, but you could be importing a sequence of images, if you had the image named with numbers. e.g.

let num 0
repeat 10 [
   set num (num + 1)
   import-drawing (word "cat" num ".jpg")
   wait 1

This would import cat1.jpg, wait 1 second, then import cat2.jpg, wait 1 second, then import cat3.jpg, etc.

This would create an animation within NetLogo where you'd see all of the different images flash by!

answered by (508 points)

thank you, Professor