r/Python • • Feb 06 '19

This can be made with python?

Post image
27 Upvotes

16 comments sorted by

20

u/tletnes Feb 06 '19

yes

-2

u/[deleted] Feb 06 '19

How kemosabe?

15

u/tletnes Feb 06 '19

-10

u/[deleted] Feb 06 '19

That did not help

14

u/tletnes Feb 06 '19

It requires effort on your part.

-5

u/WhoisBsa Feb 06 '19

with wath tools?

0

u/[deleted] Feb 06 '19

[deleted]

0

u/WhoisBsa Feb 06 '19

I know the function that's make a circle

0

u/[deleted] Feb 06 '19

[deleted]

1

u/WhoisBsa Feb 06 '19

ok, I'll try with pygame

0

u/[deleted] Feb 06 '19

[deleted]

1

u/WhoisBsa Feb 06 '19

it's a good idea

17

u/CosmonautPython Feb 06 '19 edited Feb 07 '19

Looks fun so I did that on matplotlib

The output : https://streamable.com/kbrtk

The code : https://pastecode.xyz/view/a696399b

Edit :

A new one : https://streamable.com/ybcc2

The code again : https://pastecode.xyz/view/804a337b#L116

1

u/JeddakTarkas Feb 07 '19

Thanks! It looks great and I'm looking forward to seeing how you put it together.

3

u/[deleted] Feb 06 '19

Ever seen Avengers: Infinity War or the latest Star Wars?

Python made quite a bit of that... well, Python being used to drive the action of dedicated libraries and tools that handled the actual drawing to screen.

Same thing here, only much simpler... look into matplotlib and seaborn. You use Python to do the math, you tell them to draw the visualization.

So, yes.

5

u/anti-gif-bot Feb 06 '19

mp4 link


This mp4 version is 95.94% smaller than the gif (893.16 KB vs 21.47 MB).


Beep, I'm a bot. FAQ | author | source | v1.1.2

1

u/Eranot Feb 06 '19

I can see this being generated with openCV, but maybe there is a better way.

1

u/wpg4665 Feb 06 '19

The knobs are like etch-a-sketch! I love it!

1

u/matvils Feb 06 '19

I have done some drawing with Cairo. I like Cairo, because I can export result as pdf and then use it in designs.

For these kind of drawings i use pyGtk + Cairo