Replies: 2 comments
-
Sincerely, may I ask how teachers can solve this problem |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think you just forgot to draw the result of the voronoi operator, here is one example:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a tutorial on how to use Voronoi on the official website
Now I have made a Tyson polygon according to the instructions on the official website.
code:list var0 <- voronoi([{10,10},{50,50},{90,90},{10,90},{90,10}]);
This is the output result
But when I input the interface I want, such as using the example code provided by the official website.
![微信图片_20240727121607](https://private-user-images.githubusercontent.com/176730398/352696795-6ecc4652-7f25-4ba2-8941-3dae98de62fe.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTQ0NjMsIm5iZiI6MTczOTAxNDE2MywicGF0aCI6Ii8xNzY3MzAzOTgvMzUyNjk2Nzk1LTZlY2M0NjUyLTdmMjUtNGJhMi04OTQxLTNkYWU5OGRlNjJmZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQxMTI5MjNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ODI3ZGFhMWJkNWU5NWRhMWY2ZGJkODMxODk1YzUxMDQxMzJmNTY3YzkzYjk4ODE1OTYyY2Y0MTdjZThkNTY2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nKvosdzYWbLK2q6AuImXWr31aOhSb6YRApDKAZkIFhM)
list var1 <- voronoi([{10,10},{50,50},{90,90},{10,90},{90,10}], square(300));
But there was no result displayed
Here is my code
![Uploading 微信图片_20240727121646.png…]()
Beta Was this translation helpful? Give feedback.
All reactions