Spider Posted June 14, 2021 Author Report Share Posted June 14, 2021 I like that. I first thought upon its first few seconds of running that it was (sorry) similar to just a PLOT INK RND*7 ; RND*255 , RND*175 , then I saw it did more and within a couple more seconds the explosion effect. 🎇 ^ Apparently that's a 'firework' emoticon/smile when you search for said term in the box search field. Norman Sword 1 Quote Link to comment Share on other sites More sharing options...
Norman Sword Posted June 14, 2021 Report Share Posted June 14, 2021 (edited) 10 PLOT INK RND*7 ; RND*255 , RND*175: GOTO 10 Explode.tap is just a bit more complicated. The backdrop has 128 stars that are being tracked. E.g. Every so often a star in the backdrop is moved. The explosions move 160 points. The maximum number of explosions is 8. so the explode routine tracks and moves 1280 points - giving the total of 1408 points the program is tracking and moving. The whilst the above is happening it changes the attributes of differing squares.  -----------------------  Edited June 15, 2021 by Norman Sword Spider 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted June 15, 2021 Author Report Share Posted June 15, 2021 Thanks for the explanation Norman. That is a fair bit by the sounds of it to keep track of. I can imagine how slow said routine would be in ZXBasic if it were written, depending on how one chose to do it either with an array (slow) or endless variables. 🙂  Slightly off topic: Quite a few years back now, I tried a couple of simple routines along the same lines as my 'Basic Plotting' with a few different compilers and also if memory served wrote them in slightly different ways. Not to avoid the compiler complaining, merely to see if a more efficient piece of Basic would compile 'better' for want of a word. It did not seem to make that much of an impact, it varied more with the compiler and what you were trying to do, by that I just mean if you wanted to read a shedload of data and display it instead of say drawing endless lines on the screen a different compiler would suit better than restructuring the Basic to make it more palatable to to compile code... There are more modern ones now however some of the 'golden oldies' are still quite good enough for the very very rare occasion I use them. ST FPC3 is about the 'best of the bunch' in my opinion, its quite happy in general at least with even a badly written mess. Quote Link to comment Share on other sites More sharing options...
Norman Sword Posted June 17, 2021 Report Share Posted June 17, 2021 (edited) Best viewed from the moon.    e.g. not close pulsing Psychedelic This uses two separate routines to move colours - the colours are then merged.  PULSE.tap  as usual - I looked at the code - it was not quite what I wanted . Pulsar is more symmetrical in code and output. This separates the bright ink and paper - so this uses 3 routines and then merges them    pulsar.tap Edited June 18, 2021 by Norman Sword removing link - update - JianYang, Spider and jetsetdanny 2 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted June 18, 2021 Author Report Share Posted June 18, 2021 Great 🙂 Does look better from a distance I agree ( I say that in a positive way 🙂 ) , I found standing about 2 or 3 metres*** was ideal. *** say 6ft to 10ft for those who prefer to operate with this measurement scale. Quote Link to comment Share on other sites More sharing options...
JianYang Posted June 21, 2021 Report Share Posted June 21, 2021 12ws.tap bamboo.tap bars.zip barsb.tap contact.tap freudenabteilung.tap ll.tap mesh.tap mesh3.tap sym.zip t12ws.zip tunnel.zip jetsetdanny and Spider 2 Quote Link to comment Share on other sites More sharing options...
Spider Posted June 22, 2021 Author Report Share Posted June 22, 2021 Impressive collection! 😮 JianYang 1 Quote Link to comment Share on other sites More sharing options...
Spider Posted June 23, 2021 Author Report Share Posted June 23, 2021 I think perhaps this is open to other machines too 😉 If required. Quote Link to comment Share on other sites More sharing options...
Spider Posted June 23, 2021 Author Report Share Posted June 23, 2021 BBC Micro, just some random lines. Similar to the Spectrum version I put a video of with and without colour clash a few pages back. This one increases the colour value by .1 hence it draws 10 lines of each colour. In between each colour it then also draws a black line too, to ensure the screen is not filled too quickly. Listing: Spoiler Short 40s (3mb) video, not great quality. Spoiler lines.avi Not going to do similar on the Amstrad / CBM / MSX etc as its all a bit "samey" 🙂 for this type of output of lines.  Quote Link to comment Share on other sites More sharing options...
Spider Posted June 27, 2021 Author Report Share Posted June 27, 2021 Random pixels, ink cycled 0 to 7. Press SPACE during 'plotting' to cycle background (border/paper) colours 0 to 7 Basic + Compiler + Code Relocation + Compression... 16K Spectrum Friendly! 🙂 random_pixels.tap Spoiler  Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.