So i just reciently got into pixilang and i was testing with graphics when i noticed that pixilang doesn't do pixel perfect drawings?
this an image of what i was expecting vs what i got
how do i do pixel perfect graphics here?
A little help for a newbie
- NightRadio
- Site Admin
- Posts: 3944
- Joined: Fri Jan 23, 2004 12:28 am
- Location: Ekaterinburg. Russia
- Contact:
Re: A little help for a newbie
How did you get the second image?
Re: A little help for a newbie
Pixilang actually does only pixel perfect drawings so that is strange you got that. Your code should look like that:
Code: Select all
line(-10, -10, 10, 10)
print("line1", 0, 0, RED)
print("line2", 0, 10, RED)
frame(1000)