Online Sequencer Make music online
  • Sequences
  • Members
  • Import MIDI
  • Forum

Existing user? Sign In Create account
Login at Online Sequencer Forums

Online Sequencer Forums › Online Sequencer › Online Sequencer Discussion
« Previous 1 … 34 35 36 37 38 … 57 Next »

ELEMENTARY CELLULAR AUTOMATON?! RULE 60?!

Thread tools
ELEMENTARY CELLULAR AUTOMATON?! RULE 60?!
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#1
08-01-2018, 03:06 PM (This post was last modified: 08-01-2018, 03:06 PM by Frank.)

Code:
var cellsList = [
   [1]
];
var noteTotal = '60:0 ' + piano[36] + ' 1 13;'
var rule = 60;
while (cellsList.length < 64) {
   var time = cellsList.length;
   cellsList.push([]);
   var currentCells = cellsList[time];
   var pastCells = [0, 0].concat(cellsList.slice(-2, -1)[0], [0, 0]);
   for (var i = 0; i < time * 2 + 1; i++) {
       if (2 ** parseInt(pastCells.slice(i, i + 3).join(''), 2) & rule) {
           currentCells.push(1);
           noteTotal += time + ' ' + piano[36 + i - time] + ' 1 13;'
       } else currentCells.push(0)
   }
}
loadData(noteTotal)


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#2
08-01-2018, 03:09 PM
Rule 34 for all the "Lucent"s out there.


Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply
korwynkim Offline
cat
17 Posts:
 
#3
08-05-2018, 09:14 PM
Rule 30?


Trophy: https://imgur.com/a/4B0juxZ
Reply
Frank Offline
Grey Hat Script Kiddie who can Compose Music
392 Posts:
 
#4
08-06-2018, 11:33 AM
(08-05-2018, 09:14 PM)korwynkim Wrote: Rule 30?



Kim Wrote: + https://js-game.glitch.me + Doesnt take peopel serious if their has badly speling gramer puntuatin
Reply



Users browsing this thread:   1 Guest(s)


  •  Return to Top
  •  Contact Us
  •   Home
  •  Lite mode
© Rush Crafted with ❤ by iAndrew
Powered By MyBB, © 2002-2022 MyBB Group.
Linear Mode
Threaded Mode
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend