Thread: Generate this kind of 2d burst or pulse?

  1. #1
    Registered User
    Join Date
    Apr 2016
    Posts
    2

    Generate this kind of 2d burst or pulse?

    Hi, I'm currently trying to develop a game using Cocos2d-x using C++
    I really need to generate this burst or (donut-shaped) pulse.
    I'm having a difficult time how to generate such shape.
    At first, I was thinking of scaling the image but that didnt work out because the line or "diameter" of the donut shape gets bigger accordingly..
    Any experienced coders who can provide an equation of this thing? or maybe "mathematics" is more exact.
    If you guys can provide ANY help, suggestion, or alternative recommendation, I'll be so glad^^


    https://www.youtube.com/watch?v=ewnEE5mt1ZM

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. need help on creating PWM pulse
    By joo in forum C Programming
    Replies: 4
    Last Post: 08-22-2010, 01:11 PM
  2. Replies: 8
    Last Post: 03-23-2010, 12:23 AM
  3. About to burst
    By Thantos in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 06-05-2004, 11:37 PM
  4. display pulse
    By lwong in forum Windows Programming
    Replies: 2
    Last Post: 11-18-2003, 08:09 PM
  5. CPU burst time
    By hermit in forum Tech Board
    Replies: 27
    Last Post: 09-08-2002, 11:39 AM

Tags for this Thread