Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Solved
    • Unsolved
    • Search
    1. Home
    2. Code snippets
    Log in to post

    Code snippets

    • justvanrossum

      Sliced Sphere
      • justvanrossum  

      1
      5
      Votes
      1
      Posts
      2527
      Views

      No one has replied

    • agyei

      Blobs 101?
      bezierpath animation pens qcurve • • agyei  

      8
      1
      Votes
      8
      Posts
      3084
      Views

      MauriceMeilleur

      I mean to do so at some point—probably on GitHub, probably this summer when I can take a little time to clean up code and organize the sketches.
    • erik

      Possible solution to Just's puzzle?
      • erik  

      9
      1
      Votes
      9
      Posts
      2770
      Views

      dyb

      An example with blendMode("lighten") and radialGradient() building on @justvanrossum example. size(1000, 1000) fill(0) dia = 864 offset = 120 rect(0, 0, width(), height()) d = 1200 blendMode("lighten") radialGradient((350-offset, 750+offset), (350-offset, 750+offset), [(1,), (0,)], startRadius=5, endRadius=0.7*dia) oval(350-.5*d, 750-.5*d, d, d) radialGradient((650-offset, 250+offset), (650-offset, 250+offset), [(1,), (0,)], startRadius=5, endRadius=0.35*dia) oval(650-.5*d, 250-.5*d, d, d)
    • erik

      Excellent 3D Monsters
      text transformations • • erik  

      1
      1
      Votes
      1
      Posts
      1274
      Views

      No one has replied

    • erik

      Drawing colors with colorsys
      color • • erik  

      1
      4
      Votes
      1
      Posts
      1255
      Views

      No one has replied

    • justvanrossum

      Recursive Tree example
      • justvanrossum  

      4
      1
      Votes
      4
      Posts
      2393
      Views

      jens

      This is 20 levels deep. It took a while
    • justvanrossum

      Seigaiha Pattern
      recreations • • justvanrossum  

      1
      2
      Votes
      1
      Posts
      2553
      Views

      No one has replied

    Drawing With Python