GameSalad

replicate an oscilloscope

Anyone have any ideas how I might go about replicating an oscilloscope.

I've tried having an actor randomly moving up and down and spawning small pixel sized squares every 0 seconds but you still get get gaps in the drawn line.

Any alternative ideas anyone?

Cheers.

Comments

  • SocksSocks London, UK.Posts: 12,459

    @strag said:
    Any alternative ideas anyone?

    What do you mean by 'replicating an oscilloscope' ?

  • ArmellineArmelline Posts: 4,364

    You'll struggle to remove the gaps in the line unless you really use a lot of actors. Perhaps a better approach is to pre-prepare images for all the possible lines and change the image based on the required curves.

  • stragstrag Posts: 450

    @Armelline Thanks, that's a great idea...never thought of that. I could pre-prepare all the various frequency responses I need and have them revealed and travelling right to left under another actor which will act as a mask.
    I'll do a test and post it if it looks reasonable.
    Cheers ;)

  • stragstrag Posts: 450

    @Armelline This is working pretty well. I have an gradient actor over the top of my curve to replicate the fade off. I'm currently producing lot's of other amplitudes which I will swap out as and when needed.

    Thanks for steering me in the right direction...seems obvious now! ;)

  • jamie_cjamie_c ImagineLabs.rocks Posts: 5,276

    Looks nice

  • stragstrag Posts: 450

    @jamie_c Thanks! ;)

  • tmanntmann Posts: 278

    @Socks said:

    @strag said:
    Any alternative ideas anyone?

    What do you mean by 'replicating an oscilloscope' ?

    perhaps would have been a better choice of word.

  • SocksSocks London, UK.Posts: 12,459

    @tmann said:

    @Socks said:

    @strag said:
    Any alternative ideas anyone?

    What do you mean by 'replicating an oscilloscope' ?

    perhaps would have been a better choice of word.

    Of the perhaps might have of course been.

Sign In or Register to comment.