90 Topics

Member Avatar for
Member Avatar for dimitrilc

## Introduction ## Taking what we already learned from the previous tutorials about drawing custom shapes and animating along elements along a Path. In this tutorial, we will combine what we learned about animation so far to create an alternating Yin Yang symbol. To those unfamiliar with the Yin Yang …

1
85
Member Avatar for dimitrilc

This is the second part of a series. The first part can be found [here](https://www.daniweb.com/programming/mobile-development/tutorials/538948/android-native-animate-alternating-yin-yang-symbol-part-1). ## Draw The Yin ## Now that we have the Yang drawn, we will continue onto the Yin. 1. Add the Paint for the Yin into the YingYang class. We will use a *stroke* style …

1
69
Member Avatar for dimitrilc

## Animation Strategy ## Welcome to part three of the tutorial; part two can be found [here](https://www.daniweb.com/programming/mobile-development/tutorials/538947/android-native-animate-alternating-yin-yang-symbol-part-2). For this animation, I have chosen to redraw the YinYang Drawable at each frame. This means recreating the YinYang object with different constructor parameters on every frame (the current YinYang implementation has a …

1
63
Member Avatar for dimitrilc

## Introduction ## Welcome to part two of the tutorial. Let us continue to learn how to animate views along a Path. Part one can be found [here](https://www.daniweb.com/programming/mobile-development/tutorials/538944/android-native-animate-view-along-path-part-1). ## Important Coordinates ## Both the sun and the moon in our app can occupy any one of the three important coordinates …

1
40
Member Avatar for dimitrilc

## Introduction ## In the last tutorial, we learned [how to draw complex shapes](https://www.daniweb.com/programming/mobile-development/tutorials/538943/android-native-draw-complex-shapes-using-the-path-class#post2288657) using a Path object. Using the concepts from the previous tutorial, we will now attempt to animate Views to move along a custom Path. ## Goals ## At the end of the tutorial, you would have …

1
71
Member Avatar for dimitrilc

## Introduction ## Android includes many options to add animations to your app. In this tutorial, we will learn how to add a type of animation called frame-by-frame animation into our Android app. ## Goals ## At the end of the tutorial, you would have learned: 1. How to add …

1
181
Member Avatar for dimitrilc

## Introduction ## Every Android View has a `layoutParams` property. This property tells the parent ViewGroup how a View wants to be laid out; it is also often used to change the size of a View. In this tutorial, we will learn how to animate Views while modifying their `layoutParams`. …

2
159
Member Avatar for dimitrilc

## Introduction ## Cards are a common widget for Material 3-themed applications. Expanding a card after the user performs a click action is a very common behavior. While Android can automatically render the new expanded card automatically, we will have to implement our own animation if we want a smooth, …

2
346
Member Avatar for dimitrilc

## Introduction ## Among all of the animation API’s on Android, MotionLayout is one of the best classes to use to create complex animations. It can animate property and motion of multiple views at the same time. Other benefits include declarative style XML and the intuitive **Motion Editor** built right …

Member Avatar for johnoOz
4
487
Member Avatar for Tom_46
Member Avatar for vijayakumar_1

Iam designing a circular progress bar for my application. iam getting some example code which implements circular progress bar using PyQt4. I tried to convert the PyQt4 code in to PySide code which suits my application. but when i try to run the code iam getting error. plz help me …

0
141
Member Avatar for Siberian

I was able to produce what I want using Adobe Animate. I want to reduce the amount of [code](http://codepen.io/Sheep/pen/VPPyOJ), as Animate inserts extra code that from my perspective seems useless ?

Member Avatar for gentlemedia
0
331
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
576
Member Avatar for Jollyyy100
Member Avatar for Supermike
0
2K
Member Avatar for Siberian

Hi, I need to have the SVG graphic eraser, animate and erase the SVG graphic, previous. I've tried aligning classes as in @keyframe .className; as well as nesting a class within @keyframe with no success ? [[Example](https://jsbin.com/qoberofuza/edit?html,css,output)]

Member Avatar for gentlemedia
0
194
Member Avatar for Siberian

Hi, I was hoping someone can help; I want to animate a scribble effect using CSS & SVG. I have an SVG graphic but it appears limited as to what CSS animation can do, that wouldn't otherwise require me to manually cut the SVG graphic into pieces and do a …

Member Avatar for Siberian
0
625
Member Avatar for Bensirpent07

I have a website that has been using background color animations for a while when all of sudden they just stopped working. I can't think of any major change I've done that would have caused it. So I created a folder to test out my jquery.min.js and jquery.ui.js files. Here …

Member Avatar for Bensirpent07
0
315
Member Avatar for William Hemsworth

Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. …

Member Avatar for thetukiet
1
7K
Member Avatar for vegaseat
Member Avatar for sneekula

Draw a group of shapes on the Tkinter GUI toolkit canvas and animate the group using the common tag names.

1
5K
Member Avatar for rubai

Hi All, I am making a website. I want to know how to implement loading animation in my website. user will see percentage of loading. Once 100% completed he/she will see my website. There are lot of css3 animation all around the internet but don't know how to apply it …

Member Avatar for rubai
0
324
Member Avatar for turpentyne

I have a bit of script for a footer section that is to expand up, when the user rolls over it - and go back down, when they are not over it. Everything works fine, it seems. But not quite in Internet Explorer. The content inside of the three "ie-curves"-classed …

Member Avatar for turpentyne
0
388
Member Avatar for GeekPlease

Good day folks, I have here a code that will animate 2 divs. But, when I hover over a div multiple times, the animation fires several times. Can someone shed some light on this one? Thanks~! <!DOCTYPE html> <html> <head> <!-- This is where jScript/jQuery starts --> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script> …

Member Avatar for GeekPlease
0
265
Member Avatar for حسن_3

Hi to all I'm newbie in the python and this is my first program in it. I have created a board that it LEDs can on/off like the checkbox. and a Timeline that has 20 Frames for controlling the animation (Frames are like the RadioButton). Can you help me : …

Member Avatar for حسن_3
0
312
Member Avatar for Violet_82

Chaps, something that occurred to me today. If I have a div with `display:hidden;` and I want it to unhide it and animate it at the same time with `animate()`, how do I achieve that? I had a look at the jquery API and it says that `animate()` unlinke `slideDown()` …

Member Avatar for iamthwee
0
205
Member Avatar for kazekagerandy

i am working on a room locator program, the feature includes the room location and the path that the searchee can take to locate the room. is there a way to move a control in a vb application just like what we see in flash applications? thanks for the ideas …

Member Avatar for Eternal Newbie
0
283
Member Avatar for SoreComet

Hey guys, Today I came across a **Beautiful** Webpage! Well atleast I consider it to be. I hope most of you might have heard of Ed-Vantage programme by Microsoft; this website is for students from India. http://www.microsoft.com/india/edvantage/student/default.aspx Please take a look at it. You will see the **pictures in the …

Member Avatar for TonyG_cyprus
-1
312
Member Avatar for chriswelborn

I didn't write this, the credits are in the code. It's a code-golf version, and I'm sorry about that. I am trying to 'decode' it but I don't have the skills, so the 'decoded' version doesn't have the right colors. This is an example of what you can do with …

0
1K
Member Avatar for compulove

I am creating an app that will allow the user to click on images and then they will transform into something else, and the code to do that is below: private void Image_Tapped(object sender, TappedRoutedEventArgs e) { BitmapImage bitmap = new BitmapImage(new Uri("ms-appx:///Assets/smallImage.png")); imageHolder.Source = bitmap; e.Handled = true; } …

Member Avatar for pritaeas
0
205
Member Avatar for Lethugs

Hi, Im trying to load animated GIF's from a folder to my listview, I'm able to load it but not moving One more problem is, a lot of GIF are inside that folder,but the display in listview show the same image how can i fix it, is there better way …

Member Avatar for Lethugs
0
833

The End.