-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|348|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-




Dan

Happy Birthday, LineOf7s

3rd August 2022

Happy birthday!


Dan

BBC Rewind (UK Only)

21st July 2022

Awww: ''Thank you for coming to Rewind. This content is currently only available to audiences in the UK''


Dan

Happy Birthday, Pio

18th July 2022

Happy Birthday .


Dan

Happy Birthday, Dan

28th June 2022

[b]Dan[/b]ke ! (means: thanks !)


Dan

Happy Birthday, Scaremonger

22nd June 2022

Happy Birthday !


Dan

Conspiracy Trails

18th June 2022

IMHO: It is meaningless to talk about the ''flat earth'' with people who ''know'' better.
It looks like the ''anti flat earther'' are non spiritual people and probably have not had any paranormal experiences.

About chems - i ag*snip*


Dan

Type The Alphabet

15th June 2022

7.441 at the 3rd attempt, 1st was about 8 seconds and 2nd had a typo in it


Dan

Turning Off

7th June 2022

I put the pc in the sleep mode (win 10) when i'm going afk for a longer period of time.
Over night, while sleeping i'm listening to some sounds and the mpc-be is activating the stand-by mode.
I'm having a sandboxie and a ram disk running, an*snip*


Dan

JSE - Jay's Scripting Engine

29th May 2022

Uhm

in blitzbasic, you can add a function parameter with default value center=1

then you could write the function like
[code]
function CollideRectToRect(x,y,w,h,c=1)

if c=0

else

end if
End Function
[/code]

In that way you need only t*snip*


Dan

JSE - Jay's Scripting Engine

29th May 2022

Looks like the CollideRectToRect is not checking the coordinates in the way (starting point x,y + width + height) but in the centered square position ?!

[jse]
// Bug-CollideRectToRect
// by dan
// Created 2022/5/29

Graphics 512,512,1

Repeat
*snip*


Dan

Bug with jse? NextBug

27th May 2022

Uhm, have you ever had a span of time when you felt like you do not want to code ?

Then you coded for few months, then stopped, then again, then stopped again ...

Well, currently for me, it is starting as if i could do coding again.


Dan

Random walker graph

27th May 2022

How about to squash some bugs ?

[jse]
// Display Random walking bugbers
// by Dan
// Created 2022/5/27

Graphics 200,200,3

Dim Squares(10)

#const $display=SetCol z*15,z*15,255 : Rect x+(z*18),100,18,(Squares(z)*sh),0 : SetCol 20,20,20 : Draw*snip*


Dan

Netflix Recommendations

27th May 2022

Mr.Beeman !


Dan

Bug with jse? NextBug

27th May 2022

Or the jse is using next instead of the variable


Dan

Bug with jse? NextBug

27th May 2022

Yes.
When i have changed the beginning letters it worked.

So It seems to be the nexttrack variable (jse thinks it is the next command !???)

[jse]

// bug with dimensions
// by <pakz>
// Created 2022/5/27


dim bots(10,10) //
Graphics *snip*


Dan

Random walker graph

27th May 2022

I just saw the moving graph on the https://natureofcode.com/book/introduction/ so i made one in jse.

[jse]
// Display Random walking numbers
// by Dan
// Created 2022/5/27

Graphics 200,200,3

Dim Squares(10)

#const $display=SetCol z*15,z*15,*snip*


Dan

Interesting CONST Use

25th May 2022

Nice !



[jse]
// consting
// by Dan
// Created 2022/5/26



rem ThrowParticle( SourceX, SourceY, [ Type ], [ Direction ], [ Speed ], [ Symbol ] , [ Colour ], [ Blend Mode ] )
Graphics 512,512,1
Symbol 0,''0__0,440!440!440,4_4/0,440!440!4*snip*


Dan

A Big Move

23rd May 2022

If you want to have a honest answer:

Wherever you go, you are carrying your thoughts with you.
Therefore does it really matter where you are ?

I'm saying, because wherever you go, sooner or later you will find some/same reasons to leave that pl*snip*


Dan

Box Dispensing

21st May 2022

Or RandomizedBorder


Dan

Box Dispensing

20th May 2022

[*tup]


Dan

Ripe Crawler / Agent Block

18th May 2022

[img]https://i.imgflip.com/6gm61m.jpg[/img]


Dan

Box Dispensing

15th May 2022

aaah i thought you want 1 row/column of the boxes around the square.


Dan

Box Dispensing

15th May 2022

If you have to place the boxes around the fixed size (i mean not going smaller) rectangle, then calculate if they fit.

If they do not, increase the size and do the calculation again until they fit.

arbitrary code is:

[code]
rem increase the recta*snip*


Dan

Box Dispensing

15th May 2022

The trouble, at leas for me is, that i do not know what you want to do.

see these question to understand the problem:
What happens if you have 1 box instead of 100 ?
What should be, if you have 2 boxes ? 3 ? 4?

if you have 4 boxes, shall they be o*snip*


Dan

Box Dispensing

15th May 2022

Just start with what i gave you. see the result, then you may discover how to apply dynamic values.

Because as soon as you start thinking in that way, a solution may come up.

More - Older Posts