From 06cc4026e1c8b136cf136e0e3cd28ed4147b3429 Mon Sep 17 00:00:00 2001 From: Boyana Date: Tue, 21 Mar 2023 13:02:52 +0100 Subject: [PATCH] style changes and button --- web/spin-wheel/cards.svg | 1 + web/spin-wheel/dream-catcher.svg | 1 + web/spin-wheel/index.html | 39 ++++++++++++++++++------------- web/spin-wheel/moon-and-stars.svg | 1 + web/spin-wheel/moon-triangle.svg | 1 + web/spin-wheel/shooting-star.svg | 1 + web/spin-wheel/spiral.svg | 1 + web/spin-wheel/style.css | 19 ++++++++++++++- 8 files changed, 47 insertions(+), 17 deletions(-) create mode 100644 web/spin-wheel/cards.svg create mode 100644 web/spin-wheel/dream-catcher.svg create mode 100644 web/spin-wheel/moon-and-stars.svg create mode 100644 web/spin-wheel/moon-triangle.svg create mode 100644 web/spin-wheel/shooting-star.svg create mode 100644 web/spin-wheel/spiral.svg diff --git a/web/spin-wheel/cards.svg b/web/spin-wheel/cards.svg new file mode 100644 index 0000000..aab8131 --- /dev/null +++ b/web/spin-wheel/cards.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/dream-catcher.svg b/web/spin-wheel/dream-catcher.svg new file mode 100644 index 0000000..f5e35bc --- /dev/null +++ b/web/spin-wheel/dream-catcher.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/index.html b/web/spin-wheel/index.html index 76eb75d..a77d561 100644 --- a/web/spin-wheel/index.html +++ b/web/spin-wheel/index.html @@ -16,10 +16,8 @@ function preload(){ img=loadImage('wheel.svg') } function setup() { - createCanvas(windowWidth/2, windowHeight/2); - button = createButton("spin the wheel!"); - button.position(windowWidth/2-250, windowHeight/2); - button.mousePressed(spin); + var canvas = createCanvas(windowWidth/2, windowHeight/2); + canvas.parent("wheel"); } var spinning = 1; @@ -34,12 +32,13 @@ function card(){ console.log("hey pop up here"); } function draw() { + clear(); // background(220); imageMode(CENTER); angleMode(DEGREES); translate (windowWidth/4, windowHeight/4); rotate(currentSpinning); - image (img,0,0,200,200); + image (img,0,0,250,250); currentSpinning = currentSpinning+10; if (currentSpinning > spinning){ currentSpinning = spinning; @@ -51,20 +50,28 @@ function draw() {
-
-

Spin the Wheel of Fortune!

-

Welcome, my dear! +

+

Wheel of Fortune

+

Welcome, my dear!

> -
This exercise you are about to start revolves around healing, in a sense of reconnecting to what is essential and authentic about yourself. As we understand the true nature of our suffering, we can evoke compassion for ourselves as we move through our uncomfortable feelings on the path to healing and peace. +

This exercise you are about to start revolves around healing, in a sense of reconnecting to what is essential and authentic about yourself. As we understand the true nature of our suffering, we can evoke compassion for ourselves as we move through our uncomfortable feelings on the path to healing and peace. -
Here are a few things I prepared for you before you begin: -
Have a strong sense of intention to commit to this exercise for some time. -
Find a quiet room, free of distraction. -
Get a notebook and a pen. Handwriting will engage your mind more actively and profoundly, help you connect with yourself, and enable the tracing of your progress over time. - -
I will be guiding you through a series of carefully collected questions written by different authors, some well-known and others unknown. You begin the exercise by spinning the Wheel of Fortune you will find at https://issue.xpub.nl/20/wheel. - After a few seconds, a question appears on the screen. Then, you take a photo slide from the deck and try to thankful of an answer to that question by looking at it and the tiny film simultaneously.

+
I will be guiding you through a series of carefully collected questions written by different authors, some well-known and others unknown. You begin the exercise by spinning the Wheel of Fortune. After a few seconds, a question appears on the screen. Then, you take a photo slide from the deck and try to think of an answer to that question by looking at it and the tiny film simultaneously.

+ + + +
+ +
+

Here are a few things I prepared for you before you begin:

+

+
1. Have a strong sense of intention to commit to this exercise for some time. +
2. Find a quiet room, free of distraction. +
3. Get a notebook and a pen. Handwriting will engage your mind more actively and profoundly, help you connect with yourself, and enable the tracing of your progress over time.

+ +
+ diff --git a/web/spin-wheel/moon-and-stars.svg b/web/spin-wheel/moon-and-stars.svg new file mode 100644 index 0000000..d0eb59f --- /dev/null +++ b/web/spin-wheel/moon-and-stars.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/moon-triangle.svg b/web/spin-wheel/moon-triangle.svg new file mode 100644 index 0000000..61773d5 --- /dev/null +++ b/web/spin-wheel/moon-triangle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/shooting-star.svg b/web/spin-wheel/shooting-star.svg new file mode 100644 index 0000000..69c9d78 --- /dev/null +++ b/web/spin-wheel/shooting-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/spiral.svg b/web/spin-wheel/spiral.svg new file mode 100644 index 0000000..6ba01c0 --- /dev/null +++ b/web/spin-wheel/spiral.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/spin-wheel/style.css b/web/spin-wheel/style.css index 52c9d60..c33a462 100644 --- a/web/spin-wheel/style.css +++ b/web/spin-wheel/style.css @@ -50,17 +50,34 @@ html { filter: hue-rotate(180deg); } - main{ + #wheel{ text-align: center; } +.spin-wheel{ + position: center; +} + + h1 { + position: relative; + margin-top: 5%; + text-align: center; + font-family: fantasy; + font-size:larger; + color:antiquewhite; + } h2 { text-align: center; + font-family: fantasy; + color:antiquewhite; } p { text-align: center; + font-family: fantasy; + color:antiquewhite; + padding:10%; } \ No newline at end of file