Skip navigation
//#つぶやきProcessing float n=1,t,r; void setup(){ size(800,800); } void draw(){ background(0)…
0:00 / 0:53

//#つぶやきProcessing float n=1,t,r; void setup(){ size(800,800); } void draw(){ background(0)…

ひさだん

@hisadan3.4K followers

Visit on X
1,328 likesDownloadOriginal post

51,126 views #つぶやきProcessing

//#つぶやきProcessing float n=1,t,r; void setup(){ size(800,800); } void draw(){ background(0); stroke(255,255-t*2,255-t*5,256-t*3); translate(400,400); for(r=0;r<TAU;r+=PI/n) line(n*sin(r*t),n*cos(r*t),(400-n)*sin(r),(400-n)*cos(r)); t+=.05; n+=.5; }

14 Comments

Comments from the original post on X (Twitter)

  • TheMorninGlory's profile picture

    @YeHoShuVaH

    @rootfeeder Waow the ball in the middle that keeps forming and expanding reminds me of a close up of the surface of the sun / a star Interesting how the sun / stars also expand over time like dat 🤔 🧐 Seed of life for realsies

    9 likes

  • 🜋 ǟƈօʀɖǟ ɮʀ 🜋's profile picture

    @araguaci

    import pygame import math pygame.init() screen = pygame.display.set_mode((800, 800)) clock = pygame.time.Clock() n = 1.0 t = 0.0 running = True while running: for event in pygame.event.get(): if event.type == pygame.QUIT: running = False screen.fill((0, 0, 0)) r_val = 255 g_val = max(0, min(255, int(255 - t * 2))) b_val = max(0, min(255, int(255 - t * 5))) color = (r_val, g_val, b_val) center_x, center_y = 400, 400 r = 0.0 while r < math.tau: x1 = center_x + n * math.sin(r * t) y1 = center_y + n * math.cos(r * t) x2 = center_x + (400 - n) * math.sin(r) y2 = center_y + (400 - n) * math.cos(r) pygame.draw.line(screen, color, (x1, y1), (x2, y2)) r += math.pi / n t += 0.05 n += 0.5 pygame.display.flip() clock.tick(60) pygame.quit()

    3 likes

  • Ray'ה🧭🌎's profile picture

    @GS813_

    It looks like a solar implosion, supernova~

    2 likes

  • flyhigh's profile picture

    @Beckett111746

    @attentionmech Rachmaninov 3

    1 like

  • earth's profile picture

    @earth________

    美しい (ˊᵒ̴̶̷̤ ꇴ ᵒ̴̶̷̤ˋ)

    1 like

  • Loren Dias's profile picture

    @LorenDias

    Remind me of making a star in inkscape

  • SelD's profile picture

    @SelinaDeMan

    This is amazing. What sort of waves are these?

  • nutsack 2009's profile picture

    @sogtwt

    this something you would see in homestuck

  • Richard Shama's profile picture

    @life10102xe

    Considering your brain creates imagery of this complexity fairly easily and regularly under rather influence of magic mushrooms what does this say about our intrinsic mathematical abilities.

  • DJP TECHNO's profile picture

    @DJPTECHNO

    Very cool!! 👀📽🔥

  • Adam Leis's profile picture

    @theNthAdam

    something about staring into the void comes to mind here…

  • Save Design's profile picture

    @SaveDesignHQ

    I hear the composition from the Oppenheimer film by Göransson while looking at this

  • Tibor (Tee)'s profile picture

    @tibor_tee

    Wow this evolves nicely :)

  • 𝐀𝐂𝐑's profile picture

    @an_dy_moo_dy

    WOW!