Thread: I dunno, kinda cool

  1. #1
    Banned
    Join Date
    Jan 2003
    Posts
    1,708

    I dunno, kinda cool

    This is a program I did when I saw a shape drawn with polar coordinates (I was done with my math test so i decided to look in a calculus book...I got a 73 on the test ) . I tried doing it myself. It just rotates a vector and multiplies each by a sine wave.

    One is the sine of the angle * 4, one is the sine of the angle * 3, and one is the sine of an exponential model that is increasing and decreasing at a certain percent in a sine fashion (goes up, goes down, goes up, goes down, etc). The color and blended transparencies also move in sine waves.

    EDIT: and oh yeah, move around with w,a,s,d and mouse to see the other two things.

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    groooovy!!

    if your into that kinda stuff you should look for some of the popular xlock screensavers, there are some crazy trippy ones. good stuff.

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    75
    wow...that was sweet -_-
    MSVC++~

  4. #4
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    I was going to add blended bitmaps and do all kinds of cool stuff but i'm working on a project that is actually cool so I'm back to that.

  5. #5
    Registered User
    Join Date
    Mar 2003
    Posts
    73
    Wow, really cool program! It reminded me a little of a dream I had once... errr, maybe that's not a good thing.

  6. #6
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    Very nice! I bet if you used DirectX/OpenGL and made them polygons with lights and fog it'd be even cooler. Has great potential for a screensaver.

  7. #7
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    I tried using polygons but the oscillating effect of the movement and transparency caused 'blips' in between adjacent polygons and stuff, and in short looked like a bunch of crap

  8. #8
    OMFG!!!!!! That is one of the kewlest things I've ever seen, seriously!!!! Maybe with this I can get some women!!!!

  9. #9
    'AlHamdulillah
    Join Date
    Feb 2003
    Posts
    790
    ive actually seen something with that shape in it, ..........ah yes, in petzold's windows book, chapter 5, program : "Clover".

  10. #10
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    these are called rose petals, they're in basically every calculus book I've ever seen.

  11. #11
    Registered User Bieh's Avatar
    Join Date
    Sep 2002
    Posts
    83
    Wow, that's pretty cool
    "It always takes longer than you think, even when you take Hofstadter's Law into account."
    -Hofstadter's Law

    Bored? Try my game SpaceWars , made in Allegro and VC++
    or see my new game Redoubt , made in OpenGL and VC++

  12. #12
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    What is with you people and dragging up old posts?
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  13. #13
    Banned
    Join Date
    Jan 2003
    Posts
    1,708
    it was still in my 'subscribed threads' thing I didn't know it was old I figured someone had just replied to it

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cheap way to cool down an external harddrive
    By cyberfish in forum Tech Board
    Replies: 13
    Last Post: 06-19-2009, 06:10 PM
  2. Math Parser thingy.....it's kinda cool
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 06-17-2005, 01:53 PM
  3. My very cool game idea
    By Unregistered in forum Game Programming
    Replies: 1
    Last Post: 07-31-2002, 10:09 AM
  4. Explanation and its kinda cool
    By CAP in forum C Programming
    Replies: 4
    Last Post: 07-24-2002, 04:12 PM
  5. Trying to be cool
    By Theologian in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 08-19-2001, 06:17 AM