locked
small basic graphic and animations and more (2) RRS feed

  • General discussion

  • Coninued from

    https://social.msdn.microsoft.com/Forums/en-US/1e8c53bb-7974-47ef-9d48-7367931b4fac/small-basic-graphic-and-animations-and-more?forum=smallbasic

    now some moirre effects: WBL231

    but u have to do some things b4 seeing them:

    1. unmark line 19 and choose destination file
    2. insert program.End() after it.
    3. open created file in paint.net or phostoshop or similar image editing app
    4. fill the white with transparent color or select white with magic wand tool and press del to obtain transparent background
    5. save file in 8bit png and adjust alpha transparency to obtain transparent background
    6. now u can return to original file WBL231 ,mark again line 19 and insert correct path to saved file in line 20, and remove added program.end after line 19 in step 2 of course))
    7. enjoy moirres))



    • Edited by Tryhest Sunday, May 29, 2016 6:28 PM
    • Split by litdevModerator Sunday, May 29, 2016 7:37 PM slow to load
    • Edited by litdevModerator Sunday, May 29, 2016 7:40 PM continued from added
    Sunday, May 29, 2016 6:27 PM

All replies

  • Tryhest, I split this due to slow load time - this is a fantastic resource of many clever graphical techniques!
    Sunday, May 29, 2016 7:44 PM
    Moderator
  • tx ldev))

    now full HSL color table: NHP780

    use mswheel to scroll around colors


    • Edited by Tryhest Monday, May 30, 2016 4:05 AM
    Monday, May 30, 2016 4:05 AM
  • update to nonki's nice cube draw:  QRC070-1
    added animation and stairway

    Monday, May 30, 2016 6:45 PM
  • Hi Tryhest,

    I simply add the HSL-HSV ColorPicker (from Pt1 site) here ID: VDM030. Replaced  other extension methods and at 1st run the palette image is created as appName.png (like eg. HSL-HSV.png) in the Program.Directory and is used for future runs.     (used gwIcon .png/.ico)

    Monday, May 30, 2016 8:18 PM
    Answerer
  • iso-tetris: CMM837

    not functional still, just can move top object by arrow keys and choose obj by space

    Tuesday, May 31, 2016 3:54 AM
  • 3d round pyramid: TTK762

    Wednesday, June 1, 2016 3:03 AM
  • a fancy car garage: MRP604

    Wednesday, June 1, 2016 3:22 AM
  • a snail style arches: GQK843

    Wednesday, June 1, 2016 3:35 AM
  • spiral maze: CDJ258


    • Edited by Tryhest Wednesday, June 1, 2016 3:57 AM
    Wednesday, June 1, 2016 3:55 AM
  • hypnotic spiral: QSF666-1

    (ideated by naochanOn)


    note the loop b4 creating poly, it's bcs of sb array error, othervise is unneccessary
    • Edited by Tryhest Thursday, June 2, 2016 3:27 AM
    Thursday, June 2, 2016 3:25 AM
  • castle: MCG550

    prior to use u must install Parray sb xtension, as sb array is tremendously slow in 3d

    Thursday, June 2, 2016 3:55 AM
  • Hey Yes you are right its not working without software parray sb extension thanks for your advice. But would you rather root your computer with this software. It may be harmful. I would prefer going with simpler graphics
    Thursday, June 2, 2016 7:43 AM
  • parray is not harmful, it's very usefull. LDarray doesnt have 3d arrays yet((
    Thursday, June 2, 2016 2:48 PM
  • glass drawing: WSP664

    parray ext. required


    • Edited by Tryhest Friday, June 3, 2016 3:30 AM
    Friday, June 3, 2016 3:30 AM
  • a bug in LDshapes: DZK268

    if u unmark line 8, rotation becomes fast no matter of angle and delay

    don't know if it's bcs of net.fw4.5 or litdev LD xtension

    Friday, June 3, 2016 3:53 AM
  • I can't see a bug.

    See

    ss = LDShapes.AddStar(5, 50,100)
    
    LDShapes.AnimateRotation(ss, 1500, 0)   ' 1500 ms/R  ->  60000/1500 = 40 R/min  |  9.6 x FASTER
    'LDShapes.AnimateRotation(ss, 1500 * 9.6, 0)       'same rot speed as While loop
    
    'Goto End
    While "True"
      LDShapes.RotateAbout(ss, 100,100, a)
      a = a + 1
      Program.Delay(40) ' 40 * 360 = 14400 ms/R ->   60000/14400 =  4.167  R/min
    EndWhile
    
    End:
    ' SUM:    40 R/min + 4.167 R/min  =  44.167 R/min |  60000/44.167 = 1358.49   ms/R

    R .. round

    The asynchronous LDShapes.AnimateRotation  (9.6 times faster) would sum up with the While loop rotation.

    maybe add a 2nd shape sidebyside

    ss2 = LDShapes.AddStar(5, 50,100)
    Shapes.Move(ss2, 250,0)

    ....

    to see better

    Using for LDShapes.AnimateRotation(shapeName, interval, count)   with rpm .. Rounds/min

    rpm [1/min] = 60000/interval    resp.

    interval [ms] = 60000/rpm

    Friday, June 3, 2016 11:42 AM
    Answerer
  • it's supposed 2b two different rotations, but the example shows it's the same rotation, controlled by single mechanism((
    Friday, June 3, 2016 2:46 PM
  • strange zoom effects: JMV242
    Friday, June 3, 2016 2:58 PM
  • quantum fluctuation effects: ZTZ863
    Friday, June 3, 2016 3:00 PM
  • stairway: PNV391
    • Edited by Tryhest Friday, June 3, 2016 7:37 PM
    Friday, June 3, 2016 7:37 PM
  • turtle assembler: XRF820

    and an editor in early stage: WHK149

    now have to join it 2gether... 

    Monday, June 20, 2016 6:59 AM
  • random turtle graphic: DVB930

    ideated by Nonki

    Tuesday, June 28, 2016 1:21 PM
  • SBCoin sample: HRB272

    Thursday, June 30, 2016 8:36 PM
  • Nice !! a little modified.      HRB272-0


    Friday, July 1, 2016 3:09 AM
    Answerer
  • legohouse: SPW330

    needs parray and ld xtensions

    Saturday, July 2, 2016 4:07 AM
  • update: PCK648

    • added rotation by mswheel
    • colors changed
    Saturday, July 2, 2016 8:15 PM
  • Tryhest,

    What is the parray extension, is there a link to it I can maybe add to my extension manager or just run your great models that use it.

    Thanks.

    Saturday, July 2, 2016 8:28 PM
    Moderator
  • Excuse me, if i answer for Tryhest, look at Power Array Extension (by EzyMCP) and it is still online for SB1.0 and also works for me on SB12.

    However here's a german PowerArray.De.xml (expires in 24h, for SB 1.2 and a renamed NameSpace to simply 'PowerArray')

    Not fully finished already with LD v1.2.10, which will follow tomorrow.



    Saturday, July 2, 2016 9:18 PM
    Answerer
  • Thanks Pappa,

    The link is for a SB 1.0, but you say it also works for SB 1.2?

    I could recompile, but your post suggests I am missing something.

    Italy out - even with Schweinsteiger miss - Go Wales!
    Saturday, July 2, 2016 9:37 PM
    Moderator
  • .. also works for me on SB12 AFTER recomp. (where the PowerArray.De.xml is from, NameSpace renamed)

    :-( Scotland out - even with (former Great) Britain - Go Nicola! :-)

    Saturday, July 2, 2016 10:10 PM
    Answerer
  • Thanks, that makes sense.

    Nicola, Farage, Boris, Corbyn - its not dull here.

    Saturday, July 2, 2016 10:18 PM
    Moderator
  • They spin, the BritishThey spin, the British (stopped making sense)
    Saturday, July 2, 2016 10:36 PM
    Answerer
  • added bricked wall effect and 2nd house: BWZ589


    • Edited by Tryhest Sunday, July 3, 2016 2:48 AM
    Sunday, July 3, 2016 2:43 AM
  • nice new features n changes: XGN929

    • roof terrace
    • inhouse stairway
    • u can now change cam view:
      - ctrl+mswheel zooms in/out
      - shift+wheel changes elevation angle 
      - alt + wheel displaces view horizontally


    • Edited by Tryhest Sunday, July 3, 2016 3:53 AM
    Sunday, July 3, 2016 3:44 AM
  • now wth red roof n chimney: SSZ782

    Sunday, July 3, 2016 6:30 PM
  • great work

    version 1.2.10 of extension has some more 3D bits

    Sunday, July 3, 2016 7:14 PM
    Moderator
  • great ld))

    new effects in old prog.: RMR774

    use mswheel to rotate, ctrl+wheel to zoom

    Tuesday, July 5, 2016 4:38 AM
  • fancy calc: ZNG033

    Tuesday, July 5, 2016 6:52 AM
  • @ tryhest

    Beautifull 3D modeling wow !!!! super -works

    here is what i want to do, i took your program ZNG033 and add keys Pv , n , i , P

    to compute a car loan payment . What do you think ? whats is missing, what can i add to the program ?

    program no: PQV320

    try it, here is the procedure to compute a car payment with this calculator:

    start:
    enter 12590.36
    press Pv
    enter 60
    press n
    enter 9.2
    press i
    press P
    press GT

    IT GIVES: monthly payment for $12590,36 for 60 months at 9.2% interest rate
    P= 262.57$

    Tuesday, July 5, 2016 6:23 PM
    Answerer
  • 3d dragon curves: PQV952
    Thursday, July 7, 2016 10:31 AM
  • See this super fast turtle who build a pile of  500 hundred  colours post it !!
    program no: CVP642

    Friday, July 8, 2016 9:08 PM
    Answerer
  • J.Bond couuntdown timer from Goldfinger movie end: VFW867

    • simulates VFD tube display numbers


    countdown stops on 007, as in movie of course))

    • Edited by Tryhest Monday, July 11, 2016 9:17 AM
    Monday, July 11, 2016 6:48 AM
  • fractal animation: HCX662

    addon files needed:TTJ208,JJX833 and expander for those 2 files:KPD890

    indexes:PNZ188 XLB414 MRM086 for sierp.triangle

    usage for indexes:

    • combine all 3 files into one: si=s1+s11+s111
    • write indexes to file si: File.WriteContents ("e:\hi\si11.txt" si)
    • decompressor for indexes:RPX126
    • save decompr. indexes to serind.txt




    alternative way for addon files: https://www.facebook.com/groups/58053367137/

    • Edited by Tryhest Thursday, July 14, 2016 5:56 AM
    Thursday, July 14, 2016 4:22 AM
  • flakestar: QPR908


    • Edited by Tryhest Friday, July 15, 2016 10:23 AM
    Friday, July 15, 2016 10:22 AM
  • spinning blackhole animation: QZZ849
    Saturday, July 16, 2016 7:51 PM
  • nonki's spiral upgrade: BDX376-1


    • Edited by Tryhest Monday, July 18, 2016 6:57 AM
    Monday, July 18, 2016 6:55 AM
  • a nautilus version BDX376-2

    Monday, July 18, 2016 7:02 AM
  • milkcream version: BDX376-3

    Monday, July 18, 2016 7:05 AM
  • artistic version: HJJ609

    Monday, July 18, 2016 7:24 AM
  • It is amazing!..
    Monday, July 18, 2016 8:32 AM
  • Optical illusions: VTS576
    • Edited by Tryhest Tuesday, July 19, 2016 7:46 PM
    Tuesday, July 19, 2016 7:45 PM
  • @tryhest

    Wow ! Fantastic !

    Optic illusion , great idea

    i will post a suggestion for August Challenge , for this.

    See my post in a few hours !

    Wednesday, July 20, 2016 2:56 PM
    Answerer
  • music box: FMQ503

    run severeal times as song depends on random number (just 2 songs now)

    Monday, July 25, 2016 4:42 AM
  • earth-moon rotation/revolution: QVD944

    prior to use grab an mercator map of earth on wiki/google images and save to apropriate folder 

    • Edited by Tryhest Monday, July 25, 2016 7:24 AM
    Monday, July 25, 2016 7:23 AM
  • @tryhest

    Great ! great sound ! great programming !!

    here a version with  2 INSTRUMENTS playing together:  program XVD124

    first : Vibraphone , on octave 3 , midi channel 2, as the bass note part

    second: Glockenspiel, on octave 6, midi channel 5 , as the hight note part.

    Ldmusic.Instrument at line 91 has been replace by:

    modification on lines 138 to 142 of the program.

       138     LDMusic.Instrument=12 ' vibraphone
       139     pn[in]=LDMusic.PlayNote(3 nt[si][r] 2)
       140     Program.Delay(2)
       141     LDMusic.Instrument=10 ' glockenspeil
       142     pn[in]=LDMusic.PlayNote(6 nt[si][r] 5)




    • Edited by YLedEditor Monday, July 25, 2016 3:14 PM
    Monday, July 25, 2016 2:44 PM
    Answerer
  • simply FANTASTIC !  KKG660

    LD3DView  is very powerful, wow !

    Monday, July 25, 2016 3:33 PM
    Answerer
  • Amazing ! thanks TryHest :)   program QDV944

    Monday, July 25, 2016 4:00 PM
    Answerer
  • random flowers generator: RNM642

    Tuesday, July 26, 2016 3:30 AM
  • small update for different styles: XJR330

    .

    Tuesday, July 26, 2016 3:37 AM
  • pielike flowers: LWX164

    Tuesday, July 26, 2016 3:43 AM
  • fancy kinda flowers: FSZ917


    • Edited by Tryhest Tuesday, July 26, 2016 3:48 AM
    Tuesday, July 26, 2016 3:48 AM
  • jazzy distorsions: DKB905

    Tuesday, July 26, 2016 3:54 AM
  • fishy flowers: HZZ116

    • Edited by Tryhest Tuesday, July 26, 2016 4:10 AM
    Tuesday, July 26, 2016 4:10 AM
  • turtlewaves: HSV674

    Wednesday, July 27, 2016 5:07 AM
  • pulsating & rotating waves: NGC975
    Wednesday, July 27, 2016 5:25 AM
  • (translated by Google translator)

    It's great !..

    Wednesday, July 27, 2016 5:26 AM
  • 2 rotating wavewheels: PDN236
    Wednesday, July 27, 2016 5:54 AM
  • Nautilus-like rotation: ZTK259

    Wednesday, July 27, 2016 9:23 AM
  • smooth rotator: PSZ331

    Wednesday, July 27, 2016 10:36 AM
  • smootie v2: NXD406

    Wednesday, July 27, 2016 10:49 AM
  • same with opacity animation:

    Wednesday, July 27, 2016 10:54 AM
  • update with opacity animation: PSZ331-0
    Wednesday, July 27, 2016 11:00 AM
  • update with flickr images in background: PSZ331-1

    Wednesday, July 27, 2016 11:06 AM
  • @tryhest

    update on your program  VTS576   -----­­>    WRV638

    optical illusion with rotating sphere

    Wednesday, July 27, 2016 2:17 PM
    Answerer
  • @tryhest

    ROTATING MARBLES

    update on program  KGG660  with pictures wrap around the marbles took from your program BDX376-3 and HJJ609

    one marble rotating slow, and the second fast in opposite rotation, cool !!!

    that's my first experiment with LD3dview with help and tips from Tryhest :) thanks !

    thanks !! to LitDev LD3Dview fantastic !!!!!

    program: DKR477


    • Edited by YLedEditor Wednesday, July 27, 2016 3:05 PM
    Wednesday, July 27, 2016 3:03 PM
    Answerer
  • flashing pattern: PSZ331-2

    Wednesday, July 27, 2016 5:23 PM
  • hypnotic webcob: FRJ236

    Friday, July 29, 2016 4:04 AM
  • sineflower: GXV610

    uses multiturtle engine, nice for caleidoscopic drawing

    with simple modifications in code u can make miracles out...
    • Edited by Tryhest Friday, July 29, 2016 6:33 AM
    Friday, July 29, 2016 6:32 AM
  • (translated by Google translator)

    Magnificently !..

    I think that soon you make up your mind to make a faceted diamond, which revolves slowly, sparkles and delights with its beauty. ;)

    Friday, July 29, 2016 8:47 AM
  • new sb logo clock ticking: ZPX036

    notice the ticks are 3.75 sec long in order to 16  segments (like a hexaclock)

    Saturday, July 30, 2016 5:09 AM
  • update with flashing dots: TMC292
    Saturday, July 30, 2016 5:35 AM
  • spinning diamond(kinda): HSV355

    Saturday, July 30, 2016 9:22 AM
  • (translated by Google translator)

    No. This is not serious.

    I thought about transparency and specular object. This diamond do not enrapture its beauty  ; )

    Saturday, July 30, 2016 2:11 PM
  • ld3dview doesn't have much light effects so it's not possible to achieve diamond shine
    Saturday, July 30, 2016 5:19 PM
  • (translated by Google translator)

    Okay. We'll see...  ; )

    Saturday, July 30, 2016 5:54 PM
  • @AbsoluteBeginner

    try this one, an update on program: HSV355-0

    Emeraud rotating, with sound, and more specular !

    Saturday, July 30, 2016 7:55 PM
    Answerer
  • (translated by Google translator)

    It's almost beautiful   8)

    We need to think that more can be done...

    Sunday, July 31, 2016 12:36 PM
  • @AbsoluteBeginner

    i'm getting closer and closer : see program BJC282

    Monday, August 1, 2016 3:14 PM
    Answerer
  • roman amphitheatre model: LCC976

    use mswheel and ctrl/shift/alt to rotate

    texture used:

    Tuesday, August 2, 2016 5:33 AM
  • nice view effects obtained:

    Tuesday, August 2, 2016 5:34 AM
  • tower model: NKF909

    pattern:

    Tuesday, August 2, 2016 6:40 AM
  • result:
    Tuesday, August 2, 2016 6:41 AM
  • 3d chessboard (work in progress...): MGT931

    Tuesday, August 2, 2016 11:30 AM
  • The rotating DIAMOND !

    I am very close, i need specular reflection, any idea ?

    program : ZSK476

    Tuesday, August 2, 2016 1:59 PM
    Answerer
  • 3 rotating precious stones: rubis, diamond ,emeraud , with colors fill light reflection

    program:  TZG070



    • Edited by YLedEditor Tuesday, August 2, 2016 3:02 PM fill light colors add
    Tuesday, August 2, 2016 2:28 PM
    Answerer
  • @tryhest

    fantastic roman Coliseum, love it ! i'll vote for this :)

    Tuesday, August 2, 2016 2:37 PM
    Answerer
  • puzzle game:CQK281

    Thursday, August 4, 2016 7:00 AM
  • swap puzzle: ZNT969

    press mouse on first tile and release on adjanced tile to swap tiles

    Thursday, August 4, 2016 11:01 AM
  • swap puzzle: ZNT969

    press mouse on first tile and release on adjanced tile to swap tiles


    Nice game!!
    Thursday, August 4, 2016 12:14 PM
    Answerer
  • @tryhest

    Great Amazing programming , tiles puzzle game

    Thursday, August 4, 2016 7:45 PM
    Answerer
  • tx yvan & naochan))

    added some animation to nonki's windmills: ZZF466-0


    • Edited by Tryhest Friday, August 5, 2016 7:35 PM
    Friday, August 5, 2016 7:34 PM
  • roto cubes: MST707

    Saturday, August 6, 2016 4:04 AM
  • Wonderful Tryhest i'll vote for your Rotobox !

    here is an update: The Magical Box

    MST707-0


    • Edited by YLedEditor Sunday, August 7, 2016 11:05 PM
    Sunday, August 7, 2016 11:04 PM
    Answerer
  • 3d bridge model: LLH554

    Monday, August 8, 2016 7:13 AM
  • 3d coraltree w anim: CSH687


    • Edited by Tryhest Wednesday, August 10, 2016 11:56 AM
    Wednesday, August 10, 2016 11:56 AM
  • 3d spinning state flags: fpn255-0


    • Edited by Tryhest Wednesday, August 10, 2016 7:23 PM
    Wednesday, August 10, 2016 7:23 PM
  • fancy spirales rotating&color changing: FWT870

    Thursday, August 11, 2016 6:44 PM
  • 3d globe rotating: QQF821

    Friday, August 12, 2016 4:26 AM
  • spiral globe: NMX907

    Friday, August 12, 2016 4:30 AM
  • green diamonds: WMF765

    Friday, August 12, 2016 5:09 AM
  • spinning coils: GJV177

    Friday, August 12, 2016 7:19 AM
  • spinning eu stars: MLL659

    Friday, August 12, 2016 10:48 AM
  • obj-logo3d: LJS042


    note new command dr3d to display result in 3dview

    also use mouse&wheel to zoom in-out and pan/rotate view
    • Edited by Tryhest Friday, August 12, 2016 12:50 PM
    Friday, August 12, 2016 12:48 PM
  • added 3d snake: XSL970

    Sunday, August 14, 2016 8:17 PM
  • 3d rotating lamp: FLR315
    Sunday, August 14, 2016 8:32 PM
  • 3d rotating cage: HHP587

    Tuesday, August 16, 2016 5:18 AM
  • revolving chars: JNV366

    Tuesday, August 16, 2016 11:44 AM
  • 3D CRO coat of arms: GXG024

    Tuesday, August 16, 2016 12:01 PM
  • spiral staircase: CSH687-1

    Wednesday, August 17, 2016 4:12 AM
  • 3d spinning olympic circles: MXZ017

    Thursday, August 18, 2016 6:29 AM
  • 3d func plot&spin: KVD777

    Friday, August 19, 2016 2:41 AM
  • rotating&spinning 3d chars: MBF139

    Friday, August 19, 2016 3:20 AM
  • 3d letters w specular effects: GLH563

    Saturday, August 20, 2016 4:16 AM
  • 3d inox tubes rotating: RJB501


    • Edited by Tryhest Saturday, August 20, 2016 5:03 AM
    Saturday, August 20, 2016 4:51 AM
  • rotating tubes: WQJ405

    Saturday, August 20, 2016 5:01 AM
  • 3d pot: FMJ401

    Saturday, August 20, 2016 5:19 AM
  • shield volcano: LRR985

    Saturday, August 20, 2016 5:33 AM
  • elispoid: ZTL670

    in all this samples u can use mousewheel to adjust elevation, press esc to pause rotation, space to rotate

    mouse to adjust angle and 3d rotation, and wheel to zoom in out when paused rotating

    Saturday, August 20, 2016 5:52 AM
  • spinning starwheels:WTH219

    Saturday, August 20, 2016 6:53 AM
  • coil scupture: LLH687

    Saturday, August 20, 2016 8:22 AM
  • (translated by Google translator)

    I am delighted! I am amazed! It is amazing!..


    Saturday, August 20, 2016 2:50 PM
  • Marvelous 3d effects !!!
    Saturday, August 20, 2016 3:22 PM
    Answerer