Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - STxAxTIC

Pages: 1 [2] 3 4 ... 73
16
QB64 Discussion / Re: QB64 10-Liner programs or games
« on: March 21, 2022, 02:05:02 pm »
I think we need a good working definition of what a "line of code" is

17
QB64 Discussion / Re: QB64 10-Liner programs or games
« on: March 20, 2022, 10:29:49 pm »
nobody ask me why, but i just made a game in 10 lines. keep your mouse on the money to gain it, otherwise you lose it. your total is in the title

Code: QB64: [Select]
  1. 1 i = i + 1
  2.     x = INT((_WIDTH - 1) * (_MOUSEX / _WIDTH))
  3.     y = INT((_HEIGHT - 1) * (_MOUSEY / _HEIGHT))
  4. PRINT SPACE$(INT(_WIDTH / 2 - 10) * (1 + .25 * COS(i / 20) + .25 * SIN(i / 30))); "|"; STRING$(7 * (1 + ABS(COS(i / 10))), "$"); "|"
  5. IF (SCREEN(1 + y, 1 + x, 0) = 36) THEN t = t + 1 ELSE t = t - 1
  6. _TITLE "$:" + STR$(t)

18
Programs / Re: Double Pendulum Studies
« on: March 20, 2022, 08:29:28 am »
REDACTED

19
Programs / Re: Double Pendulum Studies
« on: March 19, 2022, 02:29:19 am »
REDACTED

20
Programs / Re: Double Pendulum Studies
« on: March 18, 2022, 03:11:39 pm »
By the way - there is a completely different approach to doing rigid body motion.

https://qb64forum.alephc.xyz/index.php?topic=3837.msg131887#msg131887

It uses a bunch of matrix algebra but a Newtonian method, not a Lagrangian one. Pretty good stuff though.

21
Programs / Re: Double Pendulum Studies
« on: March 18, 2022, 01:27:29 pm »
REDACTED

22
Programs / Re: Double Pendulum Studies
« on: March 15, 2022, 11:06:09 pm »
Hey MasterGy

Just wanted to let you know I read your response thoroughly - thanks for your interest in all this. Ya know, I was going to study something altogether different next, but I think you've convinced me to stay on the pendulum case, and generalize the work to handle N arms instead of 2. If opportunity permits, I'll try to let the masses and pendulum lengths be variable rather than homogeneous.

On a completely separate note, there is another approach using the "method of constraints", which may end up being better, but our present tools are too blunt to do this nicely. That is, I would prefer to have a finely-polished package for inverting matrices and doing other maneuvers in linear algebra.

For now though, I'll see if I can extend what I've already done for N links. Stay tuned.

23
Programs / Re: Double Pendulum Studies
« on: March 13, 2022, 07:50:05 pm »
REDACTED

24
Programs / Re: Double Pendulum Studies
« on: March 13, 2022, 02:52:50 pm »
REDACTED

25
Programs / Double Pendulum Studies
« on: March 12, 2022, 03:08:58 pm »
REDACTED

26
Programs / Re: Draw any curve using only circles
« on: March 06, 2022, 03:09:39 pm »
REDACTED

27
Programs / Re: Wordle clone
« on: March 05, 2022, 04:10:42 pm »
That IS Weird Paul! Love him so much. Nice work m8.

28
Programs / Oddly satisfying Lissajous Glyphs
« on: March 02, 2022, 12:14:33 am »
REDACTED

29
Programs / Re: Evolving RI (Robot Intelligence) for a room vacuum
« on: February 28, 2022, 09:11:00 pm »
this impresses me

30
Programs / Re: Draw any curve using only circles
« on: February 23, 2022, 06:11:17 pm »
REDACTED

Pages: 1 [2] 3 4 ... 73