home.social

Search

44 results for “py5coding”

  1. #py5 @py5coding's goal is to have 10 monthly sponsors. Let's get the ball rolling with the first 10 sponsors! github.com/sponsors/py5coding

    I'm a py5 contributor and I create free and open resources for teaching and learning coding in a visual context, I'd also like to reach 10 recurrent supporters: abav.lugaralgum.com/support-me

    #Processing #Python #CreativeCoding #FLOSS #EduComp

  2. @villares @py5coding @ericof @TomLarrow thank you! I had a blast at #pyconus24 and will be going back next year!

  3. github.com/py5coding/py5genera
    Have you played with a public stream of data for your art? Maybe a temperature or rain sensitive audio-visual art installation?
    #py5 #dataArt #CreativeCoding #weatherData

  4. """
    sketch_2022_01_17 #genuary #genuary17 #Python #Processing

    Code for #py5 (py5coding.org) imported mode

    Recursive grid - I'm always grateful for Takao Shunsuke's inspiration.

    #トゥートProcessing #TootProcessing
    """

    def setup():
    size(1024, 1024)
    no_loop()

    def draw():
    background(0)
    grid(0, 0, width, 4)
    save_frame('###.png')

    def grid(grid_x, grid_y, grid_size, n):
    cell_size = grid_size / n
    for i in range(n):
    x = grid_x + i * cell_size
    for j in range(n):
    y = grid_y + j * cell_size
    if cell_size < 20:
    fill(x % 255, 200, y % 255)
    circle(x + cell_size / 2,
    y + cell_size / 2,
    cell_size)
    elif n == 1:
    fill(0, 0, 200)
    square(x, y, cell_size)
    else:
    next_n = int(random(1, 5))
    grid(x, y, cell_size, next_n)

    def key_pressed():
    redraw()

  5. # Um exemplo de como exportar um sketch no #py5 (#Processing + #Python) em alta resolução:
    # Usando py5 (py5coding.org) com "imported mode", via plugin no Thonny IDE github.com/tabreturn/thonny-py

    def setup():
    size(512, 512)

    # Prepare to record a high-res output
    scale_factor = 4
    out = create_graphics(width * scale_factor, height * scale_factor)
    begin_record(out)
    out.scale(scale_factor) # Needs to be after begin_record()

    # Your drawing goes here!
    background(0)
    rect_mode(CENTER) # Don't forget to put mode changes
    color_mode(HSB) # inside the recorded part!
    no_stroke()
    for i in range(16, 256, 16):
    fill(i, 200, 200,)
    rect(i * 2, i * 2, 32, 32)
    fill((i + 128) % 256, 200, 200,)
    ellipse(i * 2, i * 2, 16, 16)

    # End recording and save
    end_record()
    out.save('output.png')

    #トゥートProcessing #TootProcessing
    # Errata da descrição da imagem: quadradao -> quadrado; outpur.png -> output.png

  6. @pythonbynight Mario, I won't be able to attend this year, if you have the chance, please invite people to try out #py5 py5coding.org

  7. #ThonnyIDE 5.0.0 is out!
    It comes with #Python 3.14 :)

    You can get it from thonny.org

    I'm investigating the compatibility with the thonny-py5mode plug-in and so far it seems to work fine. github.com/py5coding/thonny-py

    #py5 #ComputingEducation

  8. #ThonnyIDE 5.0.0 is out!
    It comes with #Python 3.14 :)

    You can get it from thonny.org

    I'm investigating the compatibility with the thonny-py5mode plug-in and so far it seems to work fine. github.com/py5coding/thonny-py

    #py5 #ComputingEducation

  9. #ThonnyIDE 5.0.0 is out!
    It comes with #Python 3.14 :)

    You can get it from thonny.org

    I'm investigating the compatibility with the thonny-py5mode plug-in and so far it seems to work fine. github.com/py5coding/thonny-py

    #py5 #ComputingEducation

  10. #ThonnyIDE 5.0.0 is out!
    It comes with #Python 3.14 :)

    You can get it from thonny.org

    I'm investigating the compatibility with the thonny-py5mode plug-in and so far it seems to work fine. github.com/py5coding/thonny-py

    #py5 #ComputingEducation

  11. #ThonnyIDE 5.0.0 is out!
    It comes with #Python 3.14 :)

    You can get it from thonny.org

    I'm investigating the compatibility with the thonny-py5mode plug-in and so far it seems to work fine. github.com/py5coding/thonny-py

    #py5 #ComputingEducation

  12. #py5 comes with some cool integrations with other #Python libraries, such as the ability to convert #Pillow images, #shapely and #trimesh objects.

    But you can create and register your own conversion functions too!

    py5coding.org/integrations/cus

  13. I'm obviously completely biased, but, if you are an educator teaching #Python and using #pygame / #pygamece, do check out #py5 (py5coding.org).

    I'm sure other sprite & game stuff must be easier in pygame, but I'm adapting a #PyMunk example, and IMHO, events are so much easier in py5...

    (I'll try post it here tomorrow, I should be doing something else, as usual...)

  14. For me, the most waited and exciting presentation at #PyConUS24 was Jim's (@hx2A) talk: #CreativeCoding with #py5 (@py5coding), the #Python version of #Processing

    If you missed it, you can watch it now! youtube.com/watch?v=pNVn3FPi5P

    I'm so glad I was able to be there! We had a nice "creative coding open space" the next day. I wish @ericof and @TomLarrow could have been there too. #numpy #shapely #trimesh #matplotlib #opencv

  15. The "intro to py5 and python tutorials" have coding challenges at the end of each of them, but there is no answer key. Would you like to help us contributing with this educational materials?

    py5coding.org/tutorials/intro_

    We can discuss this at github.com/py5coding/py5book/i

    ( These wonderful tutorials were mainly written by the great @lucky you can read more about it at py5coding.org/tutorials/intro_)

    #FLOSS #Processing #Python #py5 #ComputingEducation

  16. @nfoert yeah, #pyinstaller is great. I couldn't make it work 100% yet because the framework I use most (py5coding.org) is a bit hard to package, depending on a JDK/JVM.

    (also I hadn't figured fbs needed a license :-S)

  17. If you have been using #py5 for a while, this page about #matplotlib integration is a documentation gem It opens up the possibility of making "live", real time and interactive, maplotlib charts, but even if you are not into #dataviz, it shows the beautiful #profiling tools integrated with py5 and how to use #threading to improve performance. In the end you also learn about named colors and the clever "Colormap Color Mode" feature.

    py5coding.org/integrations/mat #python #processing4 #profilers #colormapps

  18. If you have been using #py5 for a while, this page about #matplotlib integration is a documentation gem It opens up the possibility of making "live", real time and interactive, maplotlib charts, but even if you are not into #dataviz, it shows the beautiful #profiling tools integrated with py5 and how to use #threading to improve performance. In the end you also learn about named colors and the clever "Colormap Color Mode" feature.

    py5coding.org/integrations/mat #python #processing4 #profilers #colormapps

  19. If you have been using #py5 for a while, this page about #matplotlib integration is a documentation gem It opens up the possibility of making "live", real time and interactive, maplotlib charts, but even if you are not into #dataviz, it shows the beautiful #profiling tools integrated with py5 and how to use #threading to improve performance. In the end you also learn about named colors and the clever "Colormap Color Mode" feature.

    py5coding.org/integrations/mat #python #processing4 #profilers #colormapps

  20. If you have been using #py5 for a while, this page about #matplotlib integration is a documentation gem It opens up the possibility of making "live", real time and interactive, maplotlib charts, but even if you are not into #dataviz, it shows the beautiful #profiling tools integrated with py5 and how to use #threading to improve performance. In the end you also learn about named colors and the clever "Colormap Color Mode" feature.

    py5coding.org/integrations/mat #python #processing4 #profilers #colormapps

  21. If you have been using #py5 for a while, this page about #matplotlib integration is a documentation gem It opens up the possibility of making "live", real time and interactive, maplotlib charts, but even if you are not into #dataviz, it shows the beautiful #profiling tools integrated with py5 and how to use #threading to improve performance. In the end you also learn about named colors and the clever "Colormap Color Mode" feature.

    py5coding.org/integrations/mat #python #processing4 #profilers #colormapps

  22. This is a bit worrying because it also breaks the users ability to install any plug-in on Thonny in all platforms :((

    Hopefully Aivar will find a workaround soon.

    UPDATE: github.com/thonny/thonny/relea
    seems to offer a fix. I'll have to update my portable!

    cc @py5coding

    #ThonnyIDE #Python #py5