Miscellaneous Demo(s)
If this is not the right place to post such things, please let me know where they are being posted.
This is a very old but distinctive audiovisual demo (remake for Hydra)
which in recent years led to the discovery of unstored sound playback.
It is very simple, and in Spin a little slow. Some people may like it, some will think it's lame and noisy.
Hydra TV and Graphics drivers required by this version.
This is a very old but distinctive audiovisual demo (remake for Hydra)
which in recent years led to the discovery of unstored sound playback.
It is very simple, and in Spin a little slow. Some people may like it, some will think it's lame and noisy.
Hydra TV and Graphics drivers required by this version.
Comments
Can you tell me more about "the discovery of unstored sound playback"?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Michael Park
PS, BTW, and FYI:
To search the forum, use search.parallax.com (do not use the Search button).
Check out the Propeller Wiki: propeller.wikispaces.com/
It has No Graphics but uses Champernowne's Constant (0.123...) as a digital sound source,
and it is a proven theory that that number contains all possible digital sound combinations in order.
The former demo is related to the Sierpinski's Triangle (Sieve, Gasket or Sponge) fractal,
which is also related to the fractal formed by a column of counted binary numbers, and also Pascal's triangle.
Combinatorics can eliminate the redundancy and noise in the set of binary integers,
and I'm working on a combinatoric sound generating demo now. The Hydra can
quickly and easily do what I've been told (by programmers, since 1995) is impossible or unthinkable for a PC!
This small demo is also either noise or music to the ear of the listener.
The sound evolves over a long time.
Owners of TRS-80 Color Computer with Extended Color Basic will probably recognize this
accurate translation of this very old graphics demo.
This demo uses the Hydra Graphics and TV drivers.
Just for diversion, while I'm working on my game.
This function remembers what color a pixel is which was put on the screen as with gr.color(c) and gr.plot(x,y).
Most old "game basics" had this function. I needed a quick one for my game and worked this magic spell...
PUB POINT(qx,qy): qc | sad 'recall the color of a pixel at x,y
sad:=Base_Addr+(qx&12)+((191-qy)*4)+(qx&240)*48 'get the screen memory address of pixel x,y
qc:=byte[noparse][[/noparse]sad]>>((qx&3)*2)&3 'get desired pixel's color out of 4-pixel group
Usage: Base_Addr should be Onscreen_Buffer, or the pointer to the screen's memory map.
pixelcolor:=POINT(x,y) 'returns color , 0 to 3 , of pixel at x,y , to var pixelcolor
Here's another one, although it's in binary since I don't feel I have a right to show the source code,
even though it originally did something very different. This next demo is an optical illusion that just
might make things look like they are melting if you stare into it long enough.... about a minute or so,
and then look at something else. It also has a few minutes or so of eerie fractal sound in it.
The Acid demo really makes your head spin...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
Maybe another one like it soon.
Best sound yet..
Thanks
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with the Protoboard? - Propeller Cookbook
Got an SD card? - PropDOS
A Living Propeller FAQ - The Propeller Wiki
(Got the Knowledge? Got a Moment? Add something today!)
www.cmp.caltech.edu/~mcc/chaos_new/Chaos_demos.html
I have been wondering if the propeller could simulate Chua's Circuit
Perry
I'll try to make some interesting audiovisual strange attractors.
Here is the final version of the acid demo, with circles instead of squares.
Has anyone seen the movie CONTACT based on the book by Carl Sagan?
Prepare to receive a message from another dimension!
It's "perfectly logical". Notice all the hieroglyphic characters.
What do they look like? What do they mean?
As usual, this one uses GRAPHICS and TV drivers.
Keep up the good work, I'm looking forward to Acid demo 2020...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...
Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...
/Bamse
After several months of medical lethargy I might be back in the game.
Don't forget you need the drivers from the Sources directory. This one uses the keyboard.
If you liked entropysynth, this is very similar and very different.
And if you select 257 you get the same as 001 and so on, in case you wonder about that.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Michael Park
PS, BTW, and FYI:
To search the forum, use search.parallax.com (do not use the Search button).
Check out the Propeller Wiki: propeller.wikispaces.com/
"256 Rules" with improved graphics and ability to randomize the CA to make the boring rules interesting and vice versa.
(Needs comboKeyboard.spin driver)
"Matrix Circuit" a mindblowing variant of the "Contact" demo with bizarre audiovisualized noises. (coded for Hydra only.)
"80 Columns" ... lets you type a lot on the screen. Looks good on a good TV. Looks bad on a bad TV. (So it's a TV tester.)
Makes very small letters and numbers so almost 2000 can fit on the screen. (Needs comboKeyboard.spin driver)
(This version has no sound.)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Michael Park
PS, BTW, and FYI:
To search the forum, use search.parallax.com (do not use the Search button).
Check out the Propeller Wiki: propeller.wikispaces.com/
Post Edited (mpark) : 8/16/2008 3:05:15 AM GMT
Attached is a copy for the rest of the "non-hydra" propeller users. [noparse]:)[/noparse]
I think I'll bring some of these to the Expo to run on the Big Screen when
we aren't doing anything official. [noparse]:)[/noparse]
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Getting started with a Propeller Protoboard?
Check out: Introduction to the Proboard & Propeller Cookbook 1.4
Updates to the Cookbook are now posted to: Propeller.warrantyvoid.us
Got an SD card connected? - PropDOS
Your code taught me everything I still needed to know to start programming in PASM,
and I started by putting the sound back in it and also updating the program to
be compatible with other boards and have faster running speed options due to PASM.