# Some Movies I made

**URL:** https://discourse.processing.org/t/some-movies-i-made/13306
**Category:** Gallery
**Created:** [August 11, 2019, 11:12am UTC](https://discourse.processing.org/t/some-movies-i-made/13306 "2019-08-11T11:12:13Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 11, 2019, 11:12am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/1 "2019-08-11T11:12:13Z")

</div>

Hello,

I made a few movies using processing.

[![](https://img.youtube.com/vi/0-IdDuB7HvQ/hqdefault.jpg "Fire Work") ](https://www.youtube.com/watch?v=0-IdDuB7HvQ)

[![](https://img.youtube.com/vi/fn1Yt75PS4I/maxresdefault.jpg "Weeping Willow") ](https://www.youtube.com/watch?v=fn1Yt75PS4I)

[![](https://img.youtube.com/vi/7pGAX83fGZA/maxresdefault.jpg "Moebius strip: processing movie") ](https://www.youtube.com/watch?v=7pGAX83fGZA)

[![](https://img.youtube.com/vi/oV3KwbydDsY/maxresdefault.jpg "Moebius Band processing movie") ](https://www.youtube.com/watch?v=oV3KwbydDsY)

[![](https://img.youtube.com/vi/xNfS3uOd6P8/maxresdefault.jpg "House in 3D - processing movie") ](https://www.youtube.com/watch?v=xNfS3uOd6P8)

[![](https://img.youtube.com/vi/0wbKTLsCKEA/maxresdefault.jpg "Demo: 3D camera following player / processing movie") ](https://www.youtube.com/watch?v=0wbKTLsCKEA)

[![]( " - YouTube") ](https://www.youtube.com/watch?v=gixziwrbJpg)

[![](https://img.youtube.com/vi/dvZONDWc9Ro/hqdefault.jpg "Peg Solitaire Solution") ](https://www.youtube.com/watch?v=dvZONDWc9Ro)

A toast to hamoid and his great lib.

Is somebody is interested in the code, tell me.

Regards, Chrisir

---

<div class="post-metadata">

### Author: ![Tiemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/tiemen/32/5477_2.png) [@Tiemen](https://discourse.processing.org/u/Tiemen)
#### Post date: [August 11, 2019, 11:23am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/2 "2019-08-11T11:23:41Z")

</div>

Believe you mentioned something about two different Moebius band/strip formulas on the German Wikipedia a little while back. Did you use a separate one for the red and yellow coloured one?

---

<div class="post-metadata">

### Author: ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)
#### Post date: [August 11, 2019, 11:34am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/3 "2019-08-11T11:34:16Z")

</div>

These are great 😄

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 11, 2019, 11:34am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/4 "2019-08-11T11:34:50Z")

</div>

> Did you use a separate one for the red and yellow coloured one?

There are apparently two different kinds of Moebius Strips, this one (1) and the one where you cut a paper strip and glue it back together 180 degree turned (2).

Anyway, both Moebius Strips above are based on the same formula (1). The difference is that one consists of small yellow spheres forming the strip and one has a red _quad\_strip shape_ made from their positions.

* * *

Here are the formulas:

(1)  
The formula I used:  
see [Möbiusband – Wikipedia](https://de.wikipedia.org/wiki/M%C3%B6biusband#In_der_Mathematik)

(2)  
see under (f)  
see [Regelfläche – Wikipedia](https://de.wikipedia.org/wiki/Regelfl%C3%A4che#Beispiele)

---

<div class="post-metadata">

### Author: ![rbytes](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@rbytes](https://discourse.processing.org/u/rbytes)
#### Post date: [August 12, 2019, 5:22pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/5 "2019-08-12T17:22:33Z")

</div>

Definitely interested in your code, Chrisir, especially your fireworks. They are super realistic! Are you using OpenProcessing? If so, I just need the sketch numbers.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 12, 2019, 8:39pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/6 "2019-08-12T20:39:21Z")

</div>

I will post it later

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [August 13, 2019, 4:18am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/7 "2019-08-13T04:18:09Z")

</div>

Great stuff–thanks for sharing. The Marble track reminded me of great CGI classics like the Mind’s Eye series.

I also enjoyed the small set / stage that you made for rotating some of your pieces.

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 14, 2019, 3:22pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/8 "2019-08-14T15:22:22Z")

</div>

> [@rbytes](#):
>
> especially your fireworks

here it is.

- For saving images to make a movie from, set videoExportIsOn1 to true

Chrisir

```auto
ArrayList<Spark> sparks = new ArrayList();
int divider=1;
// ***************************************************************************
boolean videoExportIsOn1 = false;// ******************************************* 
// ***************************************************************************

// -------------------------------------------------------------------------------

void setup() {
  size(1240, 960, P3D);
  noStroke();
  fill(255);
  sphereDetail(5);
}

void draw() {
  background(0);
  lights(); 

  // text 
  fill(255);
  text("Click mouse to start firework. Hold any key for spheres.", 22, 22);

  // manage sparks
  if (keyPressed) {
    noStroke();
  }
  for (Spark Spark : sparks) {
    Spark.move();
    Spark.display();
    Spark.script();
  }

  // remove dead ones 
  for (int i=sparks.size()-1; i>=0; i--) {
    Spark s = sparks.get(i); 
    if (s.isDead) 
      sparks.remove(i);
  }

  // spawn new 
  if (frameCount%divider == 0) {
    mousePressedNew();
    divider=int(random(13, 33));
  }

  // images for movie (menu tools)
  if (videoExportIsOn1) {
    // Saves each frame as line-000001.png, line-000002.png, etc.
    saveFrame("line-######.png");
  }
}

// ---------------------------------------------------------------------------------
// Input 

void mousePressed() {
  int colType=int(random (7));
  for (int i=0; i<1000; i++) {
    Spark spark = new Spark(width/2, height-4, 4);
    sparks.add(spark); 
    spark.jump( mouseX, mouseY, colType);
  }
}

// --------------------------------------------------------------------------
// Tools

void mousePressedNew() {
  int colType=int(random (7));
  float x= random(44, width-44); 
  float y= random(44, height-44); // random(33, 220);
  for (int i=0; i<990; i++) {
    Spark spark = new Spark(width/2, height-4, 4);
    sparks.add(spark); 
    spark.jump( x, y, colType );
  }
}

// ================================================================

class Spark {

  float x, y, z; // position 

  float diameter; // Durchmesser 

  float gravity = 0.53; // Gravitation 

  color col;

  final int stateWait=0; 
  final int stateTriggered=1;
  final int stateJump=2;
  int state = stateWait;

  int timer;
  int duration; 

  float angle, radius, radius_Add; 
  float maxRadius=1000;
  float centerX, centerY; 

  boolean isDead=false; 

  // Constructor
  Spark(float x_in, float y_in, 
    float diameter_in) {

    x = x_in;
    y = y_in;

    diameter = diameter_in;
  }// Constructor 

  void move() {

    // Spark move 

    // move 
    x = centerX+cos(angle)*radius;
    y = centerY+sin(angle)*radius;

    radius+=radius_Add; 

    if (radius>maxRadius)
      isDead=true;
  }// function 

  // start spark 
  void jump( float x, float y, int colType ) {
    timer=millis();
    // duration for this spark to start after ignition 
    duration=int(random(0, 90));
    state=stateTriggered;
    centerX=x;
    centerY=y;
    angle=random(0, TWO_PI);
    maxRadius= random(90, 200);
    diameter=random(1.5, 7.7);

    // print(colType); 
    switch (colType) {
    case 0:
      col = color(random(256), random(256), random(256));
      break; 

    case 1:
      col = color(random(256), 0, 0);
      break; 

    case 2:
      col = color(random(256));
      break;

    case 3:
      col = color(random(254, 256));
      break;

    case 4:
      // blue or white 
      if (random(100)>50) 
        col = color(0, 0, random(254, 256));//blue
      else col = color(random(254, 256)); // white
      break;

    case 5:
      // A or B 
      if (random(100)>50) 
        col = color(random(50, 256), random(50, 256), random(50, 256));
      else col = color(random(256), random(256), random(256));
      break;

    default:
      col = color(random(33), random(22), random(256));
      break;
    }
  }

  void script() {

    switch(state) {

    case stateWait:
      //
      diameter-=.1; 
      break;

    case stateTriggered:
      if (millis()-timer>duration)
        state=stateJump;
      break;

    case stateJump:
      jump2();
      state=0;
      break;

    default:
      println("Error 114");
      exit();
      break;
    }//switch
  }//method

  void jump2() {
    //starts explosion 
    radius_Add=random(2.1, 9.4);
  }// function 

  void display() {
    // Spark display 

    if (!keyPressed) {
      fill(col);
      ellipse(x, y, diameter, diameter);
    } else {
      pushMatrix();
      translate(x, y, 0);
      fill(col);
      sphere(diameter);
      popMatrix();
    }//else
    //
  }// function 
  //
}//class
//

```

---

<div class="post-metadata">

### Author: ![rbytes](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@rbytes](https://discourse.processing.org/u/rbytes)
#### Post date: [August 14, 2019, 10:00pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/9 "2019-08-14T22:00:49Z")

</div>

Thanks for the code. I have it running on Open

Processing as [https://www.openprocessing.org/sketch/744586](https://www.openprocessing.org/sketch/744586).

---

<div class="post-metadata">

### Author: ![skrrt.exe](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/skrrt.exe/32/6153_2.png) [@skrrt.exe](https://discourse.processing.org/u/skrrt.exe)
#### Post date: [August 15, 2019, 1:10am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/10 "2019-08-15T01:10:10Z")

</div>

These. Are. Amazing! I would love to see more of these 🙂

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 15, 2019, 2:40pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/11 "2019-08-15T14:40:26Z")

</div>

I made a github upload of one of the Moebius Strips

Showing also the green stage with the clouds

see [https://github.com/Kango/3DSketches/tree/master/Moebius4](https://github.com/Kango/3DSketches/tree/master/Moebius4)

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [August 15, 2019, 5:20pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/12 "2019-08-15T17:20:17Z")

</div>

@skrrt.exe

New movie…

[![](https://img.youtube.com/vi/cFxLtVFNsUg/maxresdefault.jpg "Marble Track 3D CSG - processing movie") ](https://www.youtube.com/watch?v=cFxLtVFNsUg)

---

<div class="post-metadata">

### Author: ![noel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/noel/32/213_2.png) [@noel](https://discourse.processing.org/u/noel)
#### Post date: [October 14, 2019, 11:23pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/13 "2019-10-14T23:23:33Z")

</div>

Great…, my favorite one is the Moebius strip!

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [October 20, 2019, 12:24pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/14 "2019-10-20T12:24:55Z")

</div>

and another one

[![](https://img.youtube.com/vi/46qwczx1jx8/maxresdefault.jpg "processing movie") ](https://www.youtube.com/watch?v=46qwczx1jx8)

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [April 28, 2020, 11:01am UTC](https://discourse.processing.org/t/some-movies-i-made/13306/15 "2020-04-28T11:01:50Z")

</div>

Here is another 3D movie I made with processing

It’s a Play-through of a Mondrian Game I made.  
It’s a Homage to Mondrian, see [Gioco da definire - #11 by Chrisir](https://discourse.processing.org/t/gioco-da-definire/18681/11)

The levels Mondrian runs through are similar to his own art work. In each level he has to reach a rotating gate that leads to the next level. It’s a simple cursor steering plus space to jump.

[![](https://img.youtube.com/vi/gryy7bkD-gs/maxresdefault.jpg "Mondrian Game - Play-through") ](https://www.youtube.com/watch?v=gryy7bkD-gs)

Chrisir

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [July 13, 2020, 12:16pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/16 "2020-07-13T12:16:55Z")

</div>

Added a new movie: Water Castle

[![](https://img.youtube.com/vi/unx6p_n7W90/maxresdefault.jpg "Wasserburg") ](https://www.youtube.com/watch?v=unx6p_n7W90)

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [July 13, 2020, 5:03pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/17 "2020-07-13T17:03:13Z")

</div>

Added a 3D Tic-Tac-Toe

[![](https://img.youtube.com/vi/37W7tJ6x2-w/maxresdefault.jpg "3D Tic-Tac-Toe processing movie") ](https://www.youtube.com/watch?v=37W7tJ6x2-w)

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [September 26, 2020, 1:46pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/18 "2020-09-26T13:46:59Z")

</div>

Do you know the game peg solitaire?

![images](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/f/fe5c79fc2cd00a1b353d781f1ca0b17adb67dbc2.jpeg)

Here is a movie of a 3D version of peg solitaire, 3D-Solitaire. It has 7 etages / levels and is playable by mouse. You can change the view with Peasycam. You can save and load games.

[![](https://img.youtube.com/vi/2uBhYoCR3s8/maxresdefault.jpg "3D-Solitaire Software Deutsch") ](https://www.youtube.com/watch?v=2uBhYoCR3s8)

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [November 25, 2020, 3:58pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/19 "2020-11-25T15:58:10Z")

</div>

3D Editor with 3D cursor and 3 different views

[![](https://img.youtube.com/vi/G6ZPh_4CQco/maxresdefault.jpg "3D Drawing program with 3D Cursor and 3 different Views") ](https://www.youtube.com/watch?v=G6ZPh_4CQco)

I am willing to share all the Code for the movies, just ask

Chrisir

---

<div class="post-metadata">

### Author: ![Chrisir](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/chrisir/32/45_2.png) [@Chrisir](https://discourse.processing.org/u/Chrisir)
#### Post date: [December 3, 2020, 6:45pm UTC](https://discourse.processing.org/t/some-movies-i-made/13306/20 "2020-12-03T18:45:05Z")

</div>

**preliminary for Turtle (Logo) for kids**

This is a video that shows a Sketch that is a preliminary for Turtle (Logo) for kids.

Kids learn what the Turtle is and can steer it with the mouse.

Message me when you want to see the code.

(there’s one version with mouse input and one with keyboard input (for steering the mouse))

[![](https://img.youtube.com/vi/Lu1zD0P5VqM/maxresdefault.jpg "preliminary for Turtle (Logo) for kids") ](https://www.youtube.com/watch?v=Lu1zD0P5VqM)

[Next page](https://discourse.processing.org/t/some-movies-i-made/13306.md?page=2)
